Posts: 407
Threads: 59
Joined: Jan 2012
Reputation:
0
Hello,
I just want to know if there a function or (etc) I can use to make certain players can't climb any object, is that possible?
Thank you.
Posts: 386
Threads: 10
Joined: May 2012
Reputation:
0
Do you mean can't jump at ALL or just on a CERTAIN object?
Posts: 407
Threads: 59
Joined: Jan 2012
Reputation:
0
Umm he can jump , but in the same time he can't climb objects
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
Creating a loop like that in OnPlayerUpdate is not very smart.
Posts: 119
Threads: 10
Joined: Oct 2010
Reputation:
0
Or you can use a function that checks the certain player's current animation. If the climbing animation is playing apply ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0, 1) (Clears the animation, making the player fall down.) to the subject. For that, you would need a timer. . . 50-100 milliseconds approximately.