Posts: 445
Threads: 108
Joined: Apr 2014
Reputation:
0
hello, how can i make like that if player is performing a animation and i use another animation command it should say me please wait before performing another animation? i mean it should not stop the current animation if we send one other animation it should complete current animation and if animation complete then i can be able to use another animation!
Posts: 348
Threads: 26
Joined: Oct 2012
Reputation:
0
Use GetPlayerAnimationIndex
Posts: 445
Threads: 108
Joined: Apr 2014
Reputation:
0
is there any function in which i have to use this or in commands?
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
Use it to detect if the player is using any animation.
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
Then you could use a variable and set it to 1 whenever you use an animation, and 0 whenever you stop an animation.
Then only allow players to use an animation if the variable is set to 0.
Posts: 445
Threads: 108
Joined: Apr 2014
Reputation:
0
timer will not work fine because some animations work for long time and some for short time :P