Posts: 246
Threads: 38
Joined: May 2013
Reputation:
0
Hey, how can I make it that the player can jump but not climb over fences and stuff?
Posts: 2,364
Threads: 135
Joined: Dec 2009
Reputation:
0
Check if animation is plaed onplayerkeystate and just clean the animation
Posts: 246
Threads: 38
Joined: May 2013
Reputation:
0
How do I know what animation is being played?
Posts: 46
Threads: 2
Joined: Aug 2013
I have a way to fix this. It's not the most efficient way, but I would set the gravity to a little bit higher than normal. That way they can't even reach the tip of the building.
Код:
//Under on Gamemodeinit
SetGravity(0.012); // <-- Maybe a little less or a bit more. Your choice. :)
Remember. 0.008 is the default gravity level.