+jump
I would have used this from the doc:
Code:
What I'm trying to do is that when the function is executed, it makes the player jump, so this way he can't go through the ceiling. |
what about just running a command on the client i.e.
Code:
you might also have to do -jump, so try this is the above isnt working right Code:
|
Quote:
I made it a lot more complicated than it needed to be. Thanks! |
One last thing, is there anyway to tell at what part a person is of a jump. I'd like to execute a function but only if hes at the peak of the jump, right before he starts decending, and not anytime before hand.
|
Nope. You can make a command so the user needs to have good timing....I'm guessing a double jump type of thing?
|
Trying to lower the users gravity, but I only want it to be lowered if its at about the middle of the jump (peak), or anytime afterwards. If hes not even in the air, the function will exec a +jump.
|
So theres no way to detect if someone used +jump, and then wait a few seconds and exec a function?
|
Oh, there are plenty ways to do this.
|
Check if a player is not on the ground and if his fall velocity is close to 0.
|
| All times are GMT -4. The time now is 15:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.