shotgun room
#10

Quote:
Originally Posted by Lorrden
View Post
Yes
Like:

pawn Code:
// On top:
new playerIsDead[MAX_PLAYERS];

//OnPlayerConnect(playerid)
    playerIsDead[playerid] = 0;

OnPlayerSpawn(playerid)
{
    if(playerIsDead[playerid] == 1)
    {
        //Do something here
    }
    return playerIsDead[playerid] = 0;
}
what do i need to do with onplayerdeath?
Reply


Messages In This Thread
shotgun room - by Madsen - 28.02.2011, 14:34
Re: shotgun room - by Baboon - 28.02.2011, 18:15
Re: shotgun room - by Madsen - 28.02.2011, 18:45
Re: shotgun room - by sim_sima - 01.03.2011, 15:29
Re: shotgun room - by Lorrden - 01.03.2011, 15:32
Re: shotgun room - by Hashski - 01.03.2011, 15:54
Re: shotgun room - by Madsen - 01.03.2011, 16:50
Re: shotgun room - by Madsen - 02.03.2011, 13:38
Re: shotgun room - by Lorrden - 02.03.2011, 15:33
Re: shotgun room - by Madsen - 02.03.2011, 15:47

Forum Jump:


Users browsing this thread: 3 Guest(s)