16.12.2009, 03:47
Here's my death and spawn codes, can someone edit it to make it only spawn at all saints on death?
http://pastebin.com/m1519e467
http://pastebin.com/m1519e467
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid == INVALID_PLAYER_ID)
{
SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
}
else
{
SendDeathMessage(killerid,playerid,reason);
SetPlayerPos(playerid, x, y, z); // Of the hospital. maybe you gotta put a delay timer.. but thats a general idea....
}
return 1;
}