Very frustrating OnPlayerDeath bug
#6

Ok. I improvised something by doing:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
      ApplyAnimation(playerid,"PED","KO_skid_front",4.0,0,1,1,1,0);
      SetTimerEx("killplayer", 3000, false, "d", playerid);
      return 1;
}

public killplayer(playerid)
{
    SetPlayerHealth(playerid, 100.0);
    return 1;
}
I observed that if i modify my health positively after that bug happens, it directly respawns me.
But still i'm not very pleased because it won't function by default, without my help .
Reply


Messages In This Thread
Very frustrating OnPlayerDeath bug - by Koala818 - 24.05.2014, 11:42
Re: Very frustrating OnPlayerDeath bug - by Stanford - 24.05.2014, 12:06
Re: Very frustrating OnPlayerDeath bug - by Koala818 - 24.05.2014, 12:12
Re: Very frustrating OnPlayerDeath bug - by gtakillerIV - 24.05.2014, 12:20
Re: Very frustrating OnPlayerDeath bug - by Koala818 - 24.05.2014, 12:43
Re: Very frustrating OnPlayerDeath bug - by Koala818 - 24.05.2014, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)