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

Error:
PHP код:
\pawno\include\lfuncs.inc(645) : warning 219local variable "PlayerName" shadows a variable at a preceding level 
Code of lfuncs:

PHP код:
stock ReturnPlayerID(PlayerName[])
{
    for(new 
0MAX_PLAYERSi++)
    {
    if(
IsPlayerConnected(i))
    {
    if(
strfind(pName(i),PlayerName,true)!=-1)
    return 
i;
    }
    }
    return 
INVALID_PLAYER_ID;

This is the line error:

PHP код:
stock ReturnPlayerID(PlayerName[]) 
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)