SA-MP Forums Archive
symbol is assigned a 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 a value that is never used: (/showthread.php?tid=566792)



symbol is assigned a value that is never used: - k2rl - 08.03.2015

(28249) : warning 204: symbol is assigned a value that is never used: "account"


Re: symbol is assigned a value that is never used: - biker122 - 08.03.2015

Can you show that line please?


Re: symbol is assigned a value that is never used: - k2rl - 08.03.2015

Quote:
Originally Posted by biker122
Посмотреть сообщение
Can you show that line please?
account = PlayerInfo[i][pAccount];


Re: symbol is assigned a value that is never used: - HY - 08.03.2015

Error it's self explanatory.
You don't use that symbol, so you should remove: new account;
But this isn't a fatal error, so script will continue working with this error anyway.


Re: symbol is assigned a value that is never used: - biker122 - 08.03.2015

You're probably not using "account = PlayerInfo[i][pAccount];" (account variable) in the function/stock in which it is created. So you should just remove it off.