I how making the Menu Example
Menu / iteam menu / armor menu / .../...
I m New is making lua
How making the MENU + MENU
Scripts
Menu + Menu ?
Menu + Menu ?
1

I how making the Menu
addhook("serveraction","_serveraction")
function _serveraction(id,action)
	if action==1 then
menu(id,"Shit menu N1,Shit menu N2,Shit menu N3")
	end
end
addhook("menu","_menu")
function _menu(id,title,button)
	if title=="Shit menu N1" then
		if button==1 then
menu(id,"Shit menu N2,1,2,3,4,5")
		elseif button==2 then
menu(id,"Shit menu N3,1,2,3,4,5")
		end
	end
end
Mora said, you can use
VADemon 's updated unimenu.addhook("serveraction","_serveraction")
function _serveraction(id,action)
if action==1 then
	--menu(id,"Shit menu N1,Shit menu N2,Shit menu N3")
	--Call unimenu here instead of the normal cs2d menu function
end
end
do
local menuID = unimenu_newMenu("rambozan_item_menu", "My awesome armor menu!")
unimenu_addButton(menuID, "Super armor", "IT'S FREE!", {}, function (id); parse("equip ".. id .." 83"); end)
-- and you've created a menu with one button
end
addhook("serveraction","example")
function example(id, act)
if act == 1 then
menu(id,'TEST,1,2')
end
end
addhook("menu","example2")
function example2(id,title,button)
if title == "TEST" then
if button == 1 then
msg2(id,'Hello World!')
end
end
return 1
end
1
