Iluminenme
#2

Es algo sencillo.

e.g.
pawn Код:
GetNextPlayerID(id)
{
    new next_player_id = INVALID_PLAYER_ID;
    for(new i = (id + 1), j = GetPlayerPoolSize(); i <= j; i ++)
    {
        if(!IsPlayerConnected(i)) continue;

        next_player_id = i;
        break;
    }
    return next_player_id;
}
Y de ese base sacas lo demas.
Reply


Messages In This Thread
Iluminenme - by xnder - 08.09.2015, 01:28
Re: Iluminenme - by SickAttack - 08.09.2015, 02:01

Forum Jump:


Users browsing this thread: 1 Guest(s)