kDiosn
Do you actually understand what you are doing?
Try this, maybe it will be more clearly for you:
PHP Code:
switch(key)
{
case 1:
{
client_print(id, print_chat, "SELECTED AWP MENU")
AwpMenu(iPlayer)
}
case 2:
{
client_print(id, print_chat, "SELECTED DEAGLE MENU")
DglMenu(iPlayer)
}
case 3:
{
client_print(id, print_chat, "SELECTED 5-7 MENU")
FsMenu(iPlayer)
}
case 4:
{
client_print(id, print_chat, "SELECTED HE_GRENADE MENU")
HE_GRENADE
// place your HE_GRENADE-related code here
}
case 5:
{
client_print(id, print_chat, "SELECTED SMOKEGRENADE MENU")
SMOKEGRENADE
// place your SMOKEGRENADE-related code here
}
case 6:
{
client_print(id, print_chat, "SELECTED Heatseek_HE MENU")
Heatseek_HE
// place your Heatseek_HE-related code here
}
}
__________________