public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(PRESSED(newkeys & KEY_WALK))
{
ApplyAnimation(playerid, "PED", "ROB_Loop_Threat", 4.1, 1, 1, 1, 1, 1, 1);
SetPlayerAttachedObject(playerid,3,18729,2,-0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1,0);
}
Attached object is working,The animation is not. :s
{
if(PRESSED(newkeys & KEY_WALK))
{
ApplyAnimation(playerid, "PED", "ROB_Loop_Threat", 4.1, 1, 1, 1, 1, 1, 1);
SetPlayerAttachedObject(playerid,3,18729,2,-0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1,0);
}
Attached object is working,The animation is not. :s