death and hospital
#5

pawn Код:
new JustDied[MAX_PLAYERS];

public OnPlayerSpawn(playerid)
{
if(JustDied[playerid] == 1) { SetPlayerPos(playerid, X,Y,Z);/*hospital pos*/ JustDied[playerid] = 0; }
return 1;
}

public OnPlayerDeath(playerid,killerid,reason)
{
JustDied[playerid] = 1;
return 1;
}
Reply


Messages In This Thread
death and hospital - by Face9000 - 19.09.2010, 13:35
Re: death and hospital - by Camacorn - 19.09.2010, 13:43
Re: death and hospital - by Matej_ - 19.09.2010, 13:44
Re: death and hospital - by Face9000 - 19.09.2010, 13:50
Re: death and hospital - by Seven. - 19.09.2010, 13:51

Forum Jump:


Users browsing this thread: 4 Guest(s)