Function GetSuperior/InferiorID
#5

PHP код:
stock GetNextPlayerID(id)
{
    for(new 
= (id 1), GetPlayerPoolSize(); <= j--)
    {
        if(!
IsPlayerConnected(i))
        {
            continue;
        }
        
        return 
i;
    }
    return 
INVALID_PLAYER_ID;

That ?
Reply


Messages In This Thread
Function GetSuperior/InferiorID - by YouServ - 27.03.2016, 18:42
Re: Function GetSuperior/InferiorID - by SickAttack - 27.03.2016, 18:55
Re: Function GetSuperior/InferiorID - by YouServ - 27.03.2016, 19:00
Re: Function GetSuperior/InferiorID - by SickAttack - 27.03.2016, 19:12
Re: Function GetSuperior/InferiorID - by YouServ - 27.03.2016, 19:25
Re: Function GetSuperior/InferiorID - by Konstantinos - 27.03.2016, 19:49
Re: Function GetSuperior/InferiorID - by SickAttack - 27.03.2016, 19:56
Re: Function GetSuperior/InferiorID - by YouServ - 27.03.2016, 20:40
Re: Function GetSuperior/InferiorID - by SickAttack - 27.03.2016, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)