26.09.2013, 11:10
I dont think its possible to get the animations from different bones, u can get the current animation that is playing i think. but u want it so the idle chat animation starts playing when you are chatting? thats pretty easy actually.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_CROUCH)) // ure gonna have to find out wich key u want to press because you can only use gta sanandreas standers keys like fire, crouch etc so i put it on crouch for now.
{
ApplyAnimation(playerid, "PED", "IDLE_chat", 4.1, 0, 0, 0, 0, 3000, 0);
}
return 1;
}