Raised This Month: $ Target: $400
 0% 

Ham_Player_Jump


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xDrugz
Senior Member
Join Date: Jul 2011
Location: return 4;
Old 10-12-2012 , 06:37   Re: Ham_Player_Jump
Reply With Quote #1

Hook player keys and detect when he press space key.
Then increase your variable by 1 every time he uses space key.
xDrugz is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-12-2012 , 07:13   Re: Ham_Player_Jump
Reply With Quote #2

Quote:
Originally Posted by xDrugz View Post
Hook player keys and detect when he press space key.
Then increase your variable by 1 every time he uses space key.
Not possible without slowhacking, and we do not support slowhacking
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 10-12-2012 , 12:24   Re: Ham_Player_Jump
Reply With Quote #3

Quote:
Originally Posted by xDrugz View Post
Hook player keys and detect when he press space key.
Then increase your variable by 1 every time he uses space key.
Better way
PHP Code:
#define IN_JUMP                         (1<<1) 
then check if velocity[2] is more than 1.0 and less than -1.0, this will means that player is in air.
.Dare Devil. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode