[Ajuda] Problema com Funзoes
#7

pawn Код:
stock isPlayerOnline ( nome[] ) //by Ricop522
{
    for(new a = 0, b = GetMaxPlayers(); a < b; ++a);
    {
        new name2[MAX_PLAYER_NAME];
        GetPlayerName(a, name2, sizeof(name2));
        if (strcmp(nome, name2, true) != 0) {
            return true;
        }
    }
    return false;
}
Eu fiz pra vocк, testa ai se funciona , abзs
se for por id:
pawn Код:
stock isPlayerOnline(id) {
    if(IsPlayerConnected(id)) return true;
    return false;
}
Reply


Messages In This Thread
[Ajuda] Problema com Funзoes - by Jason` - 15.10.2011, 02:50
Re: Problema com Funзoes - by Sergiinhonike - 15.10.2011, 03:06
Re: Problema com Funзoes - by Jason` - 15.10.2011, 03:08
Re: Problema com Funзoes - by Sergiinhonike - 15.10.2011, 03:14
Re: Problema com Funзoes - by Jason` - 15.10.2011, 03:15
Re: Problema com Funзoes - by ViniBorn - 15.10.2011, 03:15
Re: Problema com Funзoes - by Ricop522 - 15.10.2011, 03:16
Re: Problema com Funзoes - by Sergiinhonike - 15.10.2011, 03:18
Re: Problema com Funзoes - by [O.z]Caroline - 15.10.2011, 04:04

Forum Jump:


Users browsing this thread: 2 Guest(s)