12.01.2010, 11:30
If I understood you correctly that you want to set a player's position after his death, do this
pawn Код:
new Died[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid)
{
Died[playerid] = 1;
}
public OnPlayerSpawn(playerid)
{
if (Died[playerid] == 1) {
SetPlayerPos(playerid, X,Y,Z);
return 1;
}
}