SA-MP Forums Archive
[Help]y_timers. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]y_timers. (/showthread.php?tid=294118)



[Help]y_timers. - moadi - 31.10.2011

Hey there,

I got few error while using y_timers and I hope someone knows what's wrong ,

pawn Код:
Delay:DelayedTimer[500, i](playerid)
{
    printf("test.");
}
Error
Код:
invalid function or declaration



Re: [Help]y_timers. - moadi - 31.10.2011

Quote:
Originally Posted by ******
Посмотреть сообщение
Depending on the version you are using you either need no space after the comma, or an entirely different syntax of:

pawn Код:
timer DelayedTimer[500](playerid)
{
}
Oh yeah, I just downloaded the new version and everything is working fine, thanks .