Quote:
Originally Posted by Kaaba
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.
__________________