Forum

> > CS2D > Scripts > Lua Question - Inventory
Forums overviewCS2D overview Scripts overviewLog in to reply

English Lua Question - Inventory

2 replies
To the start Previous 1 Next To the start

old Lua Question - Inventory

Infinite Rain
Reviewer Off Offline

Quote
somebody can help me?
I need know how to make menu
If something happens in menu add button
Somebdy can help me pleaasE?

old Re: Lua Question - Inventory

loldlold123
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
addhook("menu","asd")
function menu (id,b,sel)
if b == "MENU" then
if sel == 1 then
xxxx
end
end
end

addhook("serveraction","asf")
function asf (id,p)
if p == 1 then
menu(id,"MENU,button1,button2,,,,")
end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview