SA-MP Forums Archive
error when compile - 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: error when compile (/showthread.php?tid=93028)



error when compile - Sfinx_17 - 23.08.2009

why i have error if i put this code above main?

new c_gate;

this is my error
C:\PROGRA~1\ROCKST~1\SERVER~1\GAMEMO~1\new.pwn(363 ) : warning 203: symbol is never used: "c_gate"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.






Re: error when compile - MrHarper - 23.08.2009

What it is saying is that c_gate is never used. So you should remove that line


Re: error when compile - Sfinx_17 - 23.08.2009

but i want to put that c_gate as i saw the wiki tutorial how to make a automatic so what i have to do to compile?


Re: error when compile - MrHarper - 23.08.2009

Well, at the moment 'new c_gate;' isn't doing anything. So there is no need for it to be in the code.
What are you trying to add? Link me to the wiki article, and I'll tell you what to put and where.


Re: error when compile - Memoryz - 23.08.2009

After you add that, read the rest of the tutorial, that isn't the only thing you need to do.