09.05.2017, 13:17
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.
{
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.