Keys sprint doesn't remove all animation after clear it
#6

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
What I used to clearn anim:
PHP код:
IsCrounching(playerid
    return (
GetPlayerAnimationIndex(playerid) == 1159 || GetPlayerAnimationIndex(playerid) == 1274 true false);
forward ClearAnimations(playerid);
public 
ClearAnimations(playerid)
{
    if(
IsCrounching(playerid))
        
ApplyAnimation(playerid"PED""GUNCROUCHFWD"4.1000011);
    else 
        
ApplyAnimation(playerid"CARRY""crry_prtial"4.100000);
    return 
1;

This should work.
Nope still me animation doesn't disappear. Have other ideas?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)