It doesn't matter. Your "for" statement is wrong a tid bit. But when it's working correctly, it should display in the menu:
"i number. Weapons name"
Obviously, like you have. Well that will automatically read, and the case statement will work fine, it always has for me.
Just make the case(s) 0-9. But if you really need to get the total amount of weapons found, make a global variable to store it.
Oh and also, change your "for" statement to this:
Code:
new weapons[32],numWeapons
get_user_weapons(id,weapons,numWeapons)
for(new i=1; i < numWeapons ;i++)
__________________