03.07.2014, 11:36
Quote:
|
^All animations works now except the Carry animation, its not applying
This is how I try to apply it: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY); |
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);
If still not working, try to remove the getplayerspecialaction check and use the timer w/o checks.


