Raised This Month: $ Target: $400
 0% 

Event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stormsys
Member
Join Date: Oct 2005
Old 10-31-2005 , 13:55   Event
Reply With Quote #1

hello,

is there a onuserjump event

if so how would it be used for amx?

thanks
Stormsys is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-31-2005 , 14:41  
Reply With Quote #2

onuserjump event ?


like when they jump ?
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-31-2005 , 15:40  
Reply With Quote #3

Hmm... try this.

Code:
public client_PreThink(id) {    if(!is_user_alive(id))       return;    new button = get_user_button(id);    new oldbutton = get_user_oldbutton(id);    new flags = get_entity_flags(id);    if( (button & IN_JUMP) && !(oldbutton & IN_JUMP) && (flags & FL_ONGROUND) && !(flags & FL_INWATER) ) {       client_jump(id);    } }

It's a little sketchy.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 23:42.


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