Hello, for some time I have a problem with function addEvent, when I want to use it in the following way:
addEvent(doTeleportThing, 500, cid, pos)
I have this error:
callback parameter should be a function
But when I use in this way:
addEvent(function()
if isPlayer(cid) then...