Problem with animations
#5

Quote:
Originally Posted by gychem
Посмотреть сообщение
^All animations works now except the Carry animation, its not applying

This is how I try to apply it:
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY);
Well, that animation.. is applied with SetPlayerSpecialAction, not with ApplyAnimation...
The problem is... you need to do it 2 times, right?
Maybe...
pawn Код:
SetPlayerSpecialAction( playerid, SPECIAL_ACTION_NONE ); // 1st to clear all special actions
SetPlayerSpecialAction( playerid, SPECIAL_ACTION_CARRY ); // 2nd to make Carry animation on
if ( GetPlayerSpecialAction( playerid ) != SPECIAL_ACTION_CARRY ) { // Still not carrying, try to remove this check if still not working
    SetTimerEx("carry", 200, false, "i", playerid); // A timer to set carry animation
}

--
forward carry(playerid); public carry(playerid) return SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY);
That's what I came up with

If still not working, try to remove the getplayerspecialaction check and use the timer w/o checks.
Reply


Messages In This Thread
Problem with animations - by gychem - 03.07.2014, 09:47
Re: Problem with animations - by Konstantinos - 03.07.2014, 09:51
Re: Problem with animations - by greentarch - 03.07.2014, 10:02
Re: Problem with animations - by gychem - 03.07.2014, 11:03
Re: Problem with animations - by greentarch - 03.07.2014, 11:36
Re: Problem with animations - by gychem - 03.07.2014, 17:02

Forum Jump:


Users browsing this thread: 1 Guest(s)