29.01.2013, 17:11
Still looping the anim, my code:
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkin(playerid, UserStats[playerid][Skin]);
if(PIsDead[playerid])
{
SetTimerEx("DeathAnim", 500, false, "i", playerid);
}
return 1;
}
public DeathAnim(playerid)
{
TogglePlayerControllable(playerid, 0);
ClearAnimations(playerid);
ApplyAnimation(playerid, "PED", "KO_shot_front", 4.1, 0, 1, 1, 0, 300000, 1);
}