warning 203: symbol is never used
#2

This code is as wrong as can be. I only needed to examine the first four lines to see that this won't do what you expect it to do. Then there is the issue of OnPlayerUpdate. Never, ever, use loops in OnPlayerUpdate unless you seriously know what you're doing!

Your code will compile as:

pawn Код:
while(w < 8)
{
    if(GetPlayerWeapon(playerid) == w /* 0 through 7 */)
    {
Which means everyone gets banned (having weaponid 0).
Reply


Messages In This Thread
warning 203: symbol is never used - by FunnyBear - 11.06.2013, 18:15
Re: warning 203: symbol is never used - by Vince - 11.06.2013, 18:30

Forum Jump:


Users browsing this thread: 1 Guest(s)