Raised This Month: $ Target: $400
 0% 

bool problem in menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 10-06-2010 , 17:26   Re: bool problem in menu
Reply With Quote #6

Quote:
Originally Posted by Exolent[jNr] View Post
No. Just stop trying to help because you don't know what you're talking about.

@Afro-Ankan
Change this:
Code:
if(!b_HasMenu [ iClient ] ) { client_print(iClient, print_center, "%s menu already enabled", PREFIX); }

To this:
Code:
if(!b_HasMenu [ iClient ] ) { client_print(iClient, print_center, "%s menu already enabled", PREFIX); return; }

And put this in the end of the menu handler:
Code:
b_HasMenu[ iClient ] = false;
sorry , sorry , i understand bad.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
 



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


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