Timer problem. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Timer problem. (
/showthread.php?tid=231396)
Timer problem. -
Shetch - 25.02.2011
Hey guys. I was wondering how would i make a timer in OnGameModeInit ?
My timer uner OnGameModeInit :
Код:
public OnGameModeInit()
{
// Auto Kill
eStrike_AK = GangZoneCreate(-74.913414, -394.928070, 13.086585, -266.928070);
// Auto Kill timer
SetTimerEx("eStrike_AK_Timer", 1000, true, "i", playerid); // line 64
}
Error:
Код:
(64) : error 017: undefined symbol "playerid"
Re: Timer problem. -
iJumbo - 25.02.2011
DOnt set it with SetTimerEx only SetTimer
Re: Timer problem. -
Mean - 25.02.2011
You can't use "playerid" in GameModeInit. SetTimer.