Symbol is assigned value that is never used - 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)
+--- Thread: Symbol is assigned value that is never used (
/showthread.php?tid=543843)
Symbol is assigned value that is never used -
Dovlee - 29.10.2014
First I want to say that I'm big beginner and I try to edit Master Gaming RP (Balkan Mode).
I getting this errors :
Код:
C:\Users\vlado\Desktop\MG.pwn(55039) : warning 204: symbol is assigned a value that is never used: "pare"
C:\Users\vlado\Desktop\MG.pwn(10741) : warning 204: symbol is assigned a value that is never used: "oglasis"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Here is line 10741 :
Код:
oglasis = SetTimer("RandomMessage",20000,1);
Here is line 55039 :
Код:
new pare = GetPlayerMoney(playerid);
Re: Symbol is assigned value that is never used -
MasonSFW - 29.10.2014
Show me more code ?
Re: Symbol is assigned value that is never used -
DanishHaq - 29.10.2014
It's just saying that "oglasis" and "pare" are variables that have not been used anywhere but have been defined. It's not a huge problem and your GM will still compile perfectly, you could make it:
pawn Код:
SetTimer("RandomMessage",20000,1);
// and not use the "pare" at all, i.e. delete that line as it is implying that GetPlayerMoney function is not being used anywhere