Detect when jumping
Is it hard to make a function that is called whenever player jumps? And how can I do it?
P.S. I'm just a begginer |
Re: Detect when jumping
Check this out:
PHP Code:
|
Re: Detect when jumping
It's from multijump plugin and I have it and for my basebuilder plugin it's good when you're not gravity zombie, this plugin changes the gravity to 800 after second jump in the air and it makes gravity zombie useless... and it looks difficult, like I said I'm just a begginer. And I want to know what is client_PreThink?
Edit: I fixed my problem! :D |
Re: Detect when jumping
client_PreThink is an engine forward.
Funcwiki doesn't seem to give a good explanation about it. This is from the hlsdk: Quote:
PHP Code:
|
Re: Detect when jumping
Oh thanks a lot :)
|
Re: Detect when jumping
PHP Code:
|
Re: Detect when jumping
Quote:
For detecting when player jumps, you should use Orpheu and hook PM_Jump(). |
| All times are GMT -4. The time now is 14:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.