19.02.2016, 09:26
In NGG game mode, there're two line in script, it's when player dead, they will apply this animation (Kill Knife Ped Die).
I want to change animation when died, I know applyanimation means, But I don't know how to get the number of the Animation in GetPlayerAnimationIndex. Please help me, thank you !!
PHP код:
if(GetPlayerAnimationIndex(i) != 746) ClearAnimations(i), ApplyAnimation(i, "KNIFE", "KILL_Knife_Ped_Die", 4.0, 0, 1, 1, 1, 0, 1);