Warning (203) Trying To 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: Warning (203) Trying To Compile (
/showthread.php?tid=73312)
Warning (203) Trying To Compile -
Sm20keD - 14.04.2009
I get the following Error while trying to compile....
Код:
C:\Users\me\Documents\Game Stuff\GTA SA Stuff\SAMP Server\filterscripts\Houses.pwn(802) : warning 203: symbol is never used: "AddHouseCar"
C:\Users\me\Documents\Game Stuff\GTA SA Stuff\SAMP Server\filterscripts\Houses.pwn(802) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
Can somone, maybe help ?
Thx
Re: Warning (203) Trying To Compile -
RobertGraham - 14.04.2009
Could you post those lines in the script? From what it looks like, and I am going to use common sense.
I don't think AddHouseCar is a function.
Re: Warning (203) Trying To Compile -
Backwardsman97 - 14.04.2009
Those are warnings and they mean what they say. You didn't use AddHouseCar variable or function and you didn't use strtok. You can put "#pragma unused strtok" at the bottom. ( no quotes )
Re: Warning (203) Trying To Compile -
Sm20keD - 14.04.2009
Quote:
Originally Posted by iTails [Support
]
Could you post those lines in the script? From what it looks like, and I am going to use common sense.
I don't think AddHouseCar is a function.
|
If you mean line 802, there is none, the script ends on line 801...
Re: Warning (203) Trying To Compile -
StrickenKid - 14.04.2009
you are getting those warnings because you did a "new {dadadada}" and you did nothing with "{dadadada}", its simply telling you its not being use for anything...
heres an example of something that woill get that warning:
pawn Код:
new hello;
new goodbye;
goodbye = (1 + 3 * 4)
hello will get the warning because i did nothing further with it other than made it....
Re: Warning (203) Trying To Compile -
Sm20keD - 14.04.2009
I got it to compile with no errors by adding these to the bottom.
#pragma unused strtok
#pragma unused AddHouseCar
But for some reason this script is crashing the server when I use the command /buy to buy a house.
Could someone maybe take a look at it if I pm'd them the script ?
Thx
Re: Warning (203) Trying To Compile -
Backwardsman97 - 14.04.2009
I'll look at it.