Raised This Month: $ Target: $400
 0% 

Back Button For menu


Post New Thread Reply   
 
Thread Tools Display Modes
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 10-19-2006 , 22:14   Re: Back Button For menu
Reply With Quote #11

Quote:
oh can you show me the right way to do a else stateent with a case switch ?
Happily
Code:
switch(key) {     case 0: {         if(gBoolprop) {             Functhis();             client_print(id, print_chat, "[Sample] Activating");         }         else {             gBoolprop = true             client_print(id, print_chat, "[Sample] Can't do that!");         }     }     case 1: {         if(gSecondBool) {             NotherFunc();             client_print(id, print_chat, "[Sample] Activating");         }         else {             gSecondBool = true             client_print(id, print_chat, "[Sample] Activating");         }     } }
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))
TheNewt is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 10-20-2006 , 10:20   Re: Back Button For menu
Reply With Quote #12

didnt I say to use case earlier and was ignored?
HERE
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Nostrodamous
BANNED
Join Date: Oct 2006
Old 10-20-2006 , 16:31   Re: Back Button For menu
Reply With Quote #13

poor ronalba , i jsut re-did my whole code , but thanks for helping , and hsowing me how ;)+ karma
Nostrodamous is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 10-20-2006 , 19:14   Re: Back Button For menu
Reply With Quote #14

lol np you do good just was wondering why on the particular forum my posts were completely and utterly ignored.
__________________
DO NOT PM me about avp mod.
Rolnaaba 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 04:55.


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