Make a player jump on a ball (NBA Jam Mod)
Hello,
I've finished a CS mod called NBAJam where people can play basketball. Players can dribble the ball by throwing it to the ground and jumping over it (ball hop). The problem is that when I transfered the plugin from my local dedicated server to a public one I noticed that sometimes (maybe 1 in each 6 dribbles) the player isn't able to jump over the ball. I've stolen the jump code from a bunnyhop plugin: PHP Code:
|
Re: Make a player jump on a ball (NBA Jam Mod)
bump
|
Re: Make a player jump on a ball (NBA Jam Mod)
Help him, this mod looks nice, I want to play it :grrr:
|
Re: Make a player jump on a ball (NBA Jam Mod)
r u using client_prethink?
|
Re: Make a player jump on a ball (NBA Jam Mod)
I have already used client_prethink but then I changed to:
register_forward(FM_PlayerPreThink, "PlayerPreThink", 0) And it still didn't work. |
Re: Make a player jump on a ball (NBA Jam Mod)
try it with Ham_Player_Jump.
idk if this helps but i had the same problem with prethink. i hope it helps. |
Re: Make a player jump on a ball (NBA Jam Mod)
Thanks, I'm going to try it now. Anyway I must say that I've made some more tests in my dedicated server and I had the problem. So it seems the bug also occurs in my local server.
|
Re: Make a player jump on a ball (NBA Jam Mod)
It's still not working.
Here's the ball brain (coded by xPaw): PHP Code:
|
Re: Make a player jump on a ball (NBA Jam Mod)
bump
|
| All times are GMT -4. The time now is 14:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.