Raised This Month: $ Target: $400
 0% 

Multijump in menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-14-2009 , 12:02   Re: Multijump in menu
Reply With Quote #2

Code:
new g_bHasMultiJump[33];   public client_PreThink(id) {         if (!g_bHasMultiJump[id])                 return PLUGIN_CONTINUE;           // Normal code } public client_PostThink(id) {         if (!g_bHasMultiJump[id])                 return PLUGIN_CONTINUE;           // Normal code }
Do this when player chooses the needed menu item:
Code:
g_bHasMultiJump[id] = true;
BTW you should use FM version of it, which uses CmdStart's pre & post forwards instead of pre and post think. It's somewhere in forums writen by me.
__________________
hleV 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 13:57.


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