Raised This Month: $ Target: $400
 0% 

Multi jump menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-26-2014 , 00:38   Re: Multi jump menu
Reply With Quote #8

Quote:
Originally Posted by CHE4TER View Post
I want a menu that can enable/disable this multi jump...
Because client_PreThink/client_PostThink auto enable it..
Ok, so do you have the menu part working?

Note: You shouldn't be doing an alive check in the menu part, it just doesn't make any sense.

After you get the menu part working correctly, you can add the isEnabled[id] to the multi-jump code. Which you can do by changing:

Code:
if(!is_user_alive(id)) return PLUGIN_CONTINUE
to this:

Code:
if(!is_user_alive(id) && !isEnabled[id]) return PLUGIN_CONTINUE
__________________
fysiks is offline
 



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 10:10.


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