Raised This Month: $51 Target: $400
 12% 

Cs 1.6 BaseBuilder menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AweTTcs
Junior Member
Join Date: Dec 2021
Old 01-11-2022 , 19:52   Cs 1.6 BaseBuilder menu
Reply With Quote #1

Hi, I have a basebuilder menu but I don't know how to put it on m... Currently the menu is on the letter n, can someone write me how to put it on m, please


#include amxmodx


#define PLUGIN "BaseBuilder Server menu"
#define VERSION "1.0"
#define AUTHOR ""

public plugin_init()

{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("nightvision", "server_menu" )
}
public server_menu(id)
{

new i_Menu = menu_create("\rBaseBuildeR \w| \rMain menu", "MMENU" )
menu_additem(i_Menu, "\wZombie Class", "1", 0)
menu_additem(i_Menu, "\wHuman Class", "2", 0)
menu_additem(i_Menu, "\wRambo Menu", "3", 0)
menu_additem(i_Menu, "\wAntidote System", "4", 0)
menu_additem(i_Menu, "\yShop", "5", 0)
menu_additem(i_Menu, "\yMoneyMan[VIP]", "6", 0)
menu_additem(i_Menu, "\yColors[VIP]", "7", 0)
menu_additem(i_Menu, "\rVIP Menu", "8", 0)
menu_additem(i_Menu, "\rAdminMenu", "9", 0)
menu_additem(i_Menu, "\wIzadji", "0", 0)

menu_setprop(i_Menu, MPROP_PERPAGE, 0)
menu_display(id, i_Menu, 0)

return PLUGIN_HANDLED
}
public MMENU(id, menu, item)
{
if (item == MENU_EXIT)
{
menu_destroy(menu)

return PLUGIN_HANDLED
}
new s_Data[6], s_Name[64], i_Access, i_Callback

menu_item_getinfo(menu, item, i_Access, s_Data, charsmax(s_Data), s_Name, charsmax(s_Name), i_Callback)

new i_Key = str_to_num(s_Data)

switch(i_Key)
{

case 1:
{
client_cmd(id, "say /class")
}
case 2:
{
client_cmd(id, "say /hklasa")
}
case 3:
{
client_cmd(id, "say /rambomenu")
}
case 4:
{
client_cmd(id, "say /antidote")
}
case 5:
{
client_cmd(id, "say /shop")
}
case 6:
{
client_cmd(id, "say /money")
}
case 7:
{
client_cmd(id, "say /colors")
}
case 8:
{
client_cmd(id, "say /vipmenu")
}
case 9:
{
client_cmd(id, "say /am")
}
}

menu_destroy(menu)
return PLUGIN_HANDLED
}
AweTTcs is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-12-2022 , 03:30   Re: Cs 1.6 BaseBuilder menu
Reply With Quote #2

By using the "chooseteam" command instead of "nightvision".
I already gave you a solution in your other thread. You chose a poor hardcoded one.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 01-12-2022, 04:49
abaskime
This message has been deleted by abaskime. Reason: add file sma
AweTTcs
Junior Member
Join Date: Dec 2021
Old 01-12-2022 , 07:50   Re: Cs 1.6 BaseBuilder menu
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
By using the "chooseteam" command instead of "nightvision".
I already gave you a solution in your other thread. You chose a poor hardcoded one.
Still dont work i dont know how to fix really..
AweTTcs is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-12-2022 , 08:22   Re: Cs 1.6 BaseBuilder menu
Reply With Quote #4

It won't work if you don't have the command bound on your M key.

Discussing this in 2 separate threads seems silly, doesn't it?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
AweTTcs
Junior Member
Join Date: Dec 2021
Old 01-12-2022 , 15:10   Re: Cs 1.6 BaseBuilder menu
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
It won't work if you don't have the command bound on your M key.

Discussing this in 2 separate threads seems silly, doesn't it?
I fixed menu
AweTTcs is offline
AweTTcs
Junior Member
Join Date: Dec 2021
Old 01-12-2022 , 15:16   Re: Cs 1.6 BaseBuilder menu
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
It won't work if you don't have the command bound on your M key.

Discussing this in 2 separate threads seems silly, doesn't it?
I fixed menu
AweTTcs 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 03:32.


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