[Ajuda] Format para pegar id da casa sem usar 'for'
#7

Use estб funзгo:
pawn Код:
IsConnectedName( Name[] )
{
    new nameP[MAX_PLAYER_NAME];
   
    for(new i = 0; i <= GetPlayerPoolSize(); i++)
    {
        GetPlayerName(i, nameP, MAX_PLAYER_NAME);
       
        if(!strcmp(Name, nameP, false))
            return true;
    }

    return false;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)