1 compile error - 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: 1 compile error (
/showthread.php?tid=246987)
1 compile error -
seanny - 07.04.2011
I cant compile my script which is an edited version on LARP script but only to suit my server
Код:
C:\Users\Seany\Desktop\SCRP LSLS\LSLRP 0.3C\LARP\gamemodes\larp.pwn(43810) : error 021: symbol already defined: "NameTimer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: 1 compile error -
[DJ]Boki - 07.04.2011
Код:
#undefine NameTimer;
Hope this helps
Re: 1 compile error -
seanny - 07.04.2011
Quote:
Originally Posted by [DJ]Boki
Код:
#undefine NameTimer;
Hope this helps
|
And where abouts should I put it?
Re: 1 compile error -
[DJ]Boki - 07.04.2011
Up the script
Re: 1 compile error -
seanny - 07.04.2011
Now I get
Код:
C:\Users\Seany\Desktop\SCRP LSLS\LSLRP 0.3C\LARP\gamemodes\larp.pwn(12) : error 031: unknown directive
C:\Users\Seany\Desktop\SCRP LSLS\LSLRP 0.3C\LARP\gamemodes\larp.pwn(43810) : error 021: symbol already defined: "NameTimer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: 1 compile error -
Davz*|*Criss - 07.04.2011
Show us the code?
Would be better.
Re: 1 compile error -
Calgon - 07.04.2011
The correct directive is 'undef,' not 'undefine.'
You shouldn't try to undefine the symbol, try locate where you're declaring it again and remove the second declaration and just create a global one.
Show us the code for line #43810 for the most appropriate advice or even code to fix your problem.
Re: 1 compile error -
[DJ]Boki - 07.04.2011
oh...