SA-MP Forums Archive
/mask 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)
+--- Thread: /mask Error (/showthread.php?tid=407206)



Pawn warrning [ EDIT ] - Antonioh - 13.01.2013

Код:
(4873) : warning 204: symbol is assigned a value that is never used: "otherfile"
(28129) : warning 219: local variable "idcar" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Quote:

4873 new rcmsg[80], acct[24], file[64],name[24],string[128],otherfile[64];

Quote:

28129 new idcar = GetPlayerVehicleID(playerid);




Re: /mask Error - Antonioh - 13.01.2013

EDIT


Re: /mask Error - EAsT-OAK_510 - 13.01.2013

Do you still need help?

Seems like you are not using "otherfile" after line 4873.
Also where else do you have idcar defined?


Re: /mask Error - RajatPawar - 13.01.2013

The warning 'symbol is assigned a value that is never used.' means you created a variable, but never used it.
For example, if I ever created a 'new int;' in my script and left it there, it would return me this warning.
The second, shadows thingy means you already have a variable named 'idcar' previously in the script.


Re: /mask Error - Antonioh - 13.01.2013

Thanks a lot