27.07.2015, 21:27
Hi there !
I have a problem with callbacks and some timers.Actually, some timers are working but not all of them.
For example, the global timers are working ( SetTimer("SetPlayerUnjail", 1000, 1);,SetTimer("CheckCar", 1000, 1);etc.) , but when i'm calling a function like "SetTimerEx("LoadTrailers", 1000, false, "d", tmpcar);" , "SetTimerEx("StartFarm", 5000, true, "d", playerid);" for a player it stuck. That callback is not started and it doesn't work properly. Even if i`m using a command to start it not working... :
What can I do ?
Which is the problem?
PS: sorry for my english.
I have a problem with callbacks and some timers.Actually, some timers are working but not all of them.
For example, the global timers are working ( SetTimer("SetPlayerUnjail", 1000, 1);,SetTimer("CheckCar", 1000, 1);etc.) , but when i'm calling a function like "SetTimerEx("LoadTrailers", 1000, false, "d", tmpcar);" , "SetTimerEx("StartFarm", 5000, true, "d", playerid);" for a player it stuck. That callback is not started and it doesn't work properly. Even if i`m using a command to start it not working... :
Код:
CMD:farm(playerid, params[]) { StartFarm(playerid); return 1; }
Which is the problem?
PS: sorry for my english.