Timer dosent work.
#2

SetTimerEx must be used if you wish to pass arguments (in this case 'playerid') to the timer function:

pawn Код:
SetTimerEx("Unfreeze", 1000, false, "i", playerid);
https://sampwiki.blast.hk/wiki/SetTimerEx

Also, I recommend calling your functions/variables etc. better names. 'UnfreezePlayer' would be a start. 'Unfreeze' is too vague - unfreeze what? The chicken?
Reply


Messages In This Thread
Timer dosent work. - by gnoomen2 - 09.02.2013, 16:44
Re: Timer dosent work. - by MP2 - 09.02.2013, 16:48
Re: Timer dosent work. - by gnoomen2 - 09.02.2013, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)