• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [Solved] GetAnimationName() is not working properly
#3
Changing the time value fixed this.
I changed it to 4000:
PHP Code:
ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop"4.1011140001); 

The only issue is that you can't exit the animation until 4 seconds (4000 ms) pass.

EDIT: After those 4 seconds, GetAnimationName gives PED, IDLE_STANCE so this won't help you much.
You can lock a player and then check if he pressed ENTER and cancel the animation or something like that.
  Reply


Messages In This Thread
RE: GetAnimationName() is not working properly - by DandoRYx - 2021-03-24, 06:21 PM

Forum Jump: