StopLoopingAnim
#1

Hello, When I use "StopLoopingAnim" function, It says: undefined symbol: "StopLoopingAnim".
Can someone give me the stock or the include file of it ?

Thanks.
Reply
#2

If you ****** it, you get:
pawn Код:
StopLoopingAnim(playerid)
{
    gPlayerUsingLoopingAnim[playerid] = false;
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
    ClearAnimations(playerid);
}
Of course, you'd have to declare the array as global and set it to true when a looping anim is being applied.

I don't get why don't you try to code what you want/like instead of getting functions from other scripts.
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
If you ****** it, you get:
pawn Код:
StopLoopingAnim(playerid)
{
    gPlayerUsingLoopingAnim[playerid] = false;
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
    ClearAnimations(playerid);
}
Of course, you'd have to declare the array as global and set it to true when a looping anim is being applied.

I don't get why don't you try to code what you want/like instead of getting functions from other scripts.
Thanks a lot!
+REP'd lol
Reply
#4

But wait, This function doesn't clear the this anim: SetPlayerSpecialAction(ID, SPECIAL_ACTION_CUFFED);

I already tried to use StopLoopingAnim but the player didn't get un-cuffed.
Reply
#5

Don't get confused - it's a special action, not an animation.

pawn Код:
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
Reply
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Don't get confused - it's a special action, not an animation.

pawn Код:
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
Ah okay, Thanks again
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)