warning 219: local variable "PlayerName" shadows a variable at a preceding level
#2

Check this out:
pawn Код:
stock ReturnPlayerID(plname[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(strfind(pName(i),plname,true)!=-1)
    return i;
    }
    }
    return INVALID_PLAYER_ID;
}
Reply


Messages In This Thread
warning 219: local variable "PlayerName" shadows a variable at a preceding level - by [DC] - 02.01.2012, 18:13
Re: warning 219: local variable "PlayerName" shadows a variable at a preceding level - by Norck - 02.01.2012, 18:28
Respuesta: warning 219: local variable "PlayerName" shadows a variable at a preceding level - by [DC] - 02.01.2012, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)