OnPlayerDeath loop
#6

on your spec command do spec[playerid] = giveplayerid;

and do

on specoff have spec[playerid] = -1;
also on playerconnect
then

Код:
for(new i = 0; i != MAX_PLAYERS; i++)
{
    if(spec[i] == playerid)
    {
        //dowhatyouwanthere
    }
}
Reply


Messages In This Thread
OnPlayerDeath loop - by iTorran - 22.02.2012, 22:26
Re: OnPlayerDeath loop - by coole210 - 22.02.2012, 22:31
Re: OnPlayerDeath loop - by iTorran - 22.02.2012, 22:40
Re: OnPlayerDeath loop - by ArmyOps - 22.02.2012, 22:54
Re: OnPlayerDeath loop - by iTorran - 22.02.2012, 23:13
Re: OnPlayerDeath loop - by chrism11 - 23.02.2012, 01:06
Re: OnPlayerDeath loop - by iTorran - 23.02.2012, 08:08
Re: OnPlayerDeath loop - by Babul - 23.02.2012, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)