help shadows a variable at a preceding level
#1

(53019) : warning 219: local variable "b" shadows a variable at a preceding level
Код:
CMD:eclose(playerid)
{
    if ( !EvenTStats ) return SendClientMessage ( playerid , 0x00C0FFFF , "The event is already closed." ) ;
    if ( !IsPlayerAdmin ( playerid ) ) return SendClientMessage ( playerid , 0x00C0FFFF , "You can not use this command..") ;
    for ( new v , b = GetMaxPlayers(); v != b; v++ ) it is
    {
        if ( TheEvenT [ v ] )
        {
            TheEvenT [ v ] = true ;
            EvenTStats = false ;
        }
    }
    return 1;
}
Reply


Messages In This Thread
help shadows a variable at a preceding level - by nbx2000 - 22.05.2018, 20:19
Re: help shadows a variable at a preceding level - by FailerZ - 22.05.2018, 20:31
Re: help shadows a variable at a preceding level - by nbx2000 - 22.05.2018, 22:18
Re: help shadows a variable at a preceding level - by Sew_Sumi - 23.05.2018, 02:31
Re: help shadows a variable at a preceding level - by nbx2000 - 23.05.2018, 03:01
Re: help shadows a variable at a preceding level - by Sew_Sumi - 23.05.2018, 03:26

Forum Jump:


Users browsing this thread: 1 Guest(s)