Raised This Month: $ Target: $400
 0% 

the menu


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-24-2010 , 13:33   Re: the menu
Reply With Quote #11

Quote:
Originally Posted by Kaaba View Post
thank you for reply, no errors now but when i press the Armor Menu ingame, it shows player info menu, which is case 1, first menu :S
This is because you are using only the first character of info which is '1' in both cases '1' and '10'. If you need to use 2 digit cases (more than 10 cases) you need to use str_to_num() and pass the num to the switch. Then you would not use any quotes in the case statements.
__________________
fysiks 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 07:17.


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