[Help]Spawning at All Saints Hospital After Death
#1

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
Reply
#2

Not sure if this is the best way... but..

pawn Код:
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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)