11.03.2012, 15:10
pawn Код:
new died[MAX_PLAYERS];
public OnPlayerDeath(playerid,killerid,reason)
{
died[playerid] =1;
return 1;
}
public OnPlayerSpawn(playerid)
{
if(died[playerid] == 1)
{
SetPlayerPos(playerid,...);//hospital coords...
died[playerid]=0;
}
return 1;
}