OnPlayerDeath Easy
#1

I'm new to pawno so i tried to make when player is death to set he's position to the hospital but it won't work ...
Can u help to make that ?
Reply
#2

pawn Код:
public OnPlayerDeath(playerid)
{
    SetSpawnInfo(playerid,0,0,posx,posy,posz,0,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    return 1;
}
Replace posx, posy, and posz with your desired position
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)