mini problem with "killtimer" - 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: mini problem with "killtimer" (
/showthread.php?tid=443355)
mini problem with "killtimer" -
dino_d_carter - 11.06.2013
Hi i made i timer at name
Код:
SetTimerEx("Map",900000,0,"i",playerid);
When i made a command so u can stop timer /stoptimer then i did like
After that i got error on this :
Код:
error 076: syntax error in the expression, or invalid function call
Re: mini problem with "killtimer" -
Red_Dragon. - 11.06.2013
Did you add
below
But I think the most common cause is that you've missed parameters.
AW: mini problem with "killtimer" -
HurtLocker - 11.06.2013
In order to kill a timer, the timer must be named. In your case:
pawn Код:
new mapp;
mapp=SetTimerEx("Map",900000,0,"i",playerid);
And then you kill the timer by including the mapp inside the KillTimer function:
Re: mini problem with "killtimer" -
dino_d_carter - 11.06.2013
Quote:
Originally Posted by Red_Dragon.
Did you add below But I think the most common cause is that you've missed parameters.
|
Yea i did
Re: AW: mini problem with "killtimer" -
dino_d_carter - 11.06.2013
Quote:
Originally Posted by HurtLocker
In order to kill a timer, the timer must be named. In your case:
pawn Код:
new mapp; mapp=SetTimerEx("Map",900000,0,"i",playerid);
And then you kill the timer by including the mapp inside the KillTimer function:
|
Код:
C:\Users\Dino\Documents\Dokumenti (SAMP) (RP)\SAMP Serves\Login and Register Sytem Y_INI\gamemodes\test.pwn(1069) : error 017: undefined symbol "Mapp"
C:\Users\Dino\Documents\Dokumenti (SAMP) (RP)\SAMP Serves\Login and Register Sytem Y_INI\gamemodes\test.pwn(1063) : warning 204: symbol is assigned a value that is never used: "mapp"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: mini problem with "killtimer" -
Areax - 11.06.2013
not
AW: mini problem with "killtimer" -
HurtLocker - 11.06.2013
pawn is case sensitive. "Mapp" is different than "mapp"
Re: AW: mini problem with "killtimer" -
dino_d_carter - 11.06.2013
Quote:
Originally Posted by HurtLocker
pawn is case sensitive. "Mapp" is different than "mapp"
|
ohh yea changed it now ty very much guys!