How to make animation affect only part of the body? (a.k.a walking during animation)
#4

Problem solved.

ApplyAnimation(playerid,"PED","IDLE_chat",4.1,0, 0, 0, 1, 1);
SetTimerEx("ClearAnims", timer, 0, "d", playerid);

forward ClearAnims(playerid); //In the top of file
public ClearAnims(playerid)
{
ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
ClearAnimations(playerid);
}

Added:
Before I used:

ApplyAnimation(playerid,"PED","IDLE_Chat",4.1,0,0, 0,0,2000,1);
and it was freezing player.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)