Why get error when compiling ? - 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: Why get error when compiling ? (
/showthread.php?tid=461084)
Why get error when compiling ? -
bustern - 31.08.2013
Why when i put:
PHP код:
SetTimer("RandomMessages", 60000, true);
I get this eror:
PHP код:
error 021: symbol already defined: "SetTimer"
In my code i dont have anoter SetTimer !!!
Re: Why get error when compiling ? -
DanishHaq - 31.08.2013
Meh, nevermind.
Re: Why get error when compiling ? -
Konstantinos - 31.08.2013
Show the rest of the code.
Re: Why get error when compiling ? -
MechaTech - 31.08.2013
You need to use SetTimer in a callback, not a random place in the script.
Re: Why get error when compiling ? -
bustern - 31.08.2013
Quote:
Originally Posted by MechaTech
You need to use SetTimer in a callback, not a random place in the script.
|
Thx you man, +rep for you