coolian 0 Posted January 28, 2019 Share Posted January 28, 2019 i want to make a timer call some function after a little bit of time i use event.timer local event = require'timer' event.timer(2,function() print("do something"),3) that is my code and i get an unexpectet symbol error at ')' wheres the unexpectet symbol how do i need to make that Quote Link to post Share on other sites
0 payonel 21 Posted January 28, 2019 Share Posted January 28, 2019 functions have to have an `end` local event = require("timer") event.timer(2, function() print("do something") end,3) Quote Link to post Share on other sites
0 coolian 0 Posted January 29, 2019 Author Share Posted January 29, 2019 47 minutes ago, payonel said: functions have to have an `end` local event = require("timer") event.timer(2, function() print("do something") end,3) thx im not very good at lua usally im in java but open computers dosnt has a java implementation Quote Link to post Share on other sites
i want to make a timer call some function after a little bit of time i use event.timer
that is my code and i get an unexpectet symbol error at ')' wheres the unexpectet symbol how do i need to make that
Link to post
Share on other sites