Instant Respawn After Death
#2

Seems like an issue with your code!

Try this?
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SpawnPlayer(playerid);
    SetPlayerPos(playerid, // their position, or whatever
    SetPlayerHealth(playerid, 100.0);
    return true;
}
If this works then it is an issue with your code, and moreso not a SA:MP bug!(which it's not!).

Unless you want to show your code, we can't really fix it.
Reply


Messages In This Thread
Instant Respawn After Death - by arakuta - 11.11.2014, 23:48
Re: Instant Respawn After Death - by Abagail - 11.11.2014, 23:55
Re: Instant Respawn After Death - by Eth - 11.11.2014, 23:57
Re: Instant Respawn After Death - by Quickie - 12.11.2014, 01:49
Re: Instant Respawn After Death - by Banana_Ghost - 12.11.2014, 04:54

Forum Jump:


Users browsing this thread: 1 Guest(s)