Little help please? - 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: Little help please? (
/showthread.php?tid=221875)
Little help please? -
Janek17 - 06.02.2011
pawn Код:
C:\Users\Janek\Desktop\[ARP] Roleplay\gamemodes\Avolotion.pwn(9970) : error 021: symbol already defined: "SetTimer"
Pawn compiler 3.2.3664Â Â Â Â Â Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
pawn Код:
SetTimer(playerid,"Bot",20000,1);
Re: Little help please? -
JaTochNietDan - 06.02.2011
Well there's a problem in your syntax. The SetTimer function doesn't support the passing of additional information, you need to use SetTimerEx, for example:
pawn Код:
SetTimerEx("Bot",20000,true,"i",playerid);
Re: Little help please? -
Janek17 - 06.02.2011
pawn Код:
C:\Users\Janek\Desktop\[ARP] Roleplay\gamemodes\Avolotion.pwn(9970) : error 021: symbol already defined: "SetTimerEx"
Pawn compiler 3.2.3664Â Â Â Â Â Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Now i got that error, what do to? :S
Re: Little help please? -
JaTochNietDan - 06.02.2011
Not sure why it's doing that, you must be including the native definition for SetTimerEx more than once. Are you including any files more than once?
Re: Little help please? -
Janek17 - 06.02.2011
mm i don't understant what you think
Re: Little help please? -
MadeMan - 06.02.2011
Show more code around it.
Re: Little help please? -
Janek17 - 06.02.2011
Luuk the first post there is it!
Re: Little help please? -
MadeMan - 06.02.2011
I think you have it outside any function.
What this timer should do?