24.05.2014, 13:10
Ok. I improvised something by doing:
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 .
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;
}
But still i'm not very pleased because it won't function by default, without my help .