Wonderful day!
WHY can’t the timer.performWithDelay take any parameter?
For example:
function writeText(text) print(text) end timer.performWithDelay(3000, writeText("thisIsSomeText"), 0)
That doesn’t work. The timer completly ignores the delay and is doing it instanlty.
It only works if i do
function writeText() print "text" end timer.performWithDelay(3000, writeText, 0)
so without the brackets, which is pretty annyoing bc this way i have to make a new function every time?
What is wrong with the code - why is this not working? How to do this else?
Thanks!