Raised This Month: $ Target: $400
 0% 

Cs 1.6 BaseBuilder menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 01:59.


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