16.01.2017, 17:25
Im trying to make when player got killed from other player, he do animation and then die but not working...
PHP код:
forward anim(playerid);
public anim(playerid)
{
ClearAnimations(playerid);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
SetTimerEx("anim", 10000, false, "i", playerid);
ApplyAnimation(playerid, "PED", "KO_shot_front",4.1,0,1,1,1,1);