Warning (203) Trying To Compile
#1

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
Reply
#2

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.
Reply
#3

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 )
Reply
#4

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...
Reply
#5

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....
Reply
#6

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
Reply
#7

I'll look at it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)