Thanks
Forum
CS2D Scripts Menu!?Menu!?
17 replies 1
Thanks
Cons has written
Hey guys, can please anyone help me, just show me how to do different Menus For Lua
Thanks
Thanks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
addhook("serveraction","lolz") -- act function lolz(id,a) -- fuck yeah if a == 1 then --f2 menu(id, "Settings,blablabla,blablalbal") end end addhkook("menu","update") function update(id,tittle,button) -- act == action if tittle = "Settings" then if button == 1 then -- your act here elseif button = 2 then -- your act here end end
is example
Jhony has written
is example
Cons has written
Hey guys, can please anyone help me, just show me how to do different Menus For Lua
Thanks
Thanks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
addhook("serveraction","lolz") -- act function lolz(id,a) -- fuck yeah if a == 1 then --f2 menu(id, "Settings,blablabla,blablalbal") end end addhkook("menu","update") function update(id,tittle,button) -- act == action if tittle = "Settings" then if button == 1 then -- your act here elseif button = 2 then -- your act here end end
is example
I know how to make simple menu, i wanna make differents style of menus! ty
edited 1×, last 08.03.18 04:48:14 am
Do you mean this?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
addhook("serveraction","lolz") -- act function lolz(id,a) -- fuck yeah if a == 1 then --f2 menu(id, "Settings,blablabla,blablalbal") elseif a == 2 then --f3 menu(id,"Bla,bla") -- Note: You need a different name end end addhkook("menu","update") function update(id,tittle,button) -- act == action if tittle == "Settings" then if button == 1 then -- your act here elseif button == 2 then -- your act here end elseif tittle == "Bla" then if button == 1 then -- your act here end end end
edited 1×, last 17.03.12 03:54:14 am
Bowlinghead has written
I dont know what Cons mean.
Do you mean this?
God damn, I hate untabbed codes...
Do you mean this?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
addhook("serveraction","lolz") -- act function lolz(id,a) -- fuck yeah if a == 1 then --f2 menu(id, "Settings,blablabla,blablalbal") elseif a == 2 then --f3 menu(id,"Bla,bla") -- Note: You need a different name end end addhkook("menu","update") function update(id,tittle,button) -- act == action if tittle == "Settings" then if button == 1 then -- your act here elseif button == 2 then -- your act here end elseif tittle == "Bla" then if button == 1 then -- your act here end end end
No, I just wanna know how to make Different Styles Of Menus!
edited 1×, last 08.03.18 04:47:29 am
I understand.
You can't make other styles except the big menu.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
addhook("serveraction","lolz") -- act function lolz(id,a) -- fuck yeah if a == 1 then --f2 menu(id, "Settings@b,blablabla,blablalbal") -- Note end end addhkook("menu","update") function update(id,tittle,button) -- act == action if tittle = "Settings" then if button == 1 then -- your act here elseif button = 2 then -- your act here end end
Bowlinghead has written
Aaahhhh....
I understand.
You can't make other styles except the big menu.
I understand.
You can't make other styles except the big menu.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
addhook("serveraction","lolz") -- act function lolz(id,a) -- fuck yeah if a == 1 then --f2 menu(id, "Settings@b,blablabla,blablalbal") -- Note end end addhkook("menu","update") function update(id,tittle,button) -- act == action if tittle = "Settings" then if button == 1 then -- your act here elseif button = 2 then -- your act here end end
Fixed :
Thanks It Really Worked, Does we have any other Style?
Cons has written
Does we have any other Style?
Invisible menu.
Dhaaa... And how to do it?! Nana
Alistaire has written
menu(id, 'menuname@i,button1|comment,button2,button3)
Wow! I dont saw anything! Idi0t menu the invisible!
Alistaire has written
menu(id, 'menuname@i,button1|comment,button2,button3)
Fixed:
1
2
3
4
5
6
2
3
4
5
6
addhook("serveraction","Oo") function Oo(id,a) if a == 1 then menu(id, "menuname@i,button1|comment,button2,button3") end end
Like, its really Invisible?! Oo I just Cant See Nothing... But When i press F2 I cant change Weapon like when we open a normal menu...
So why we need buton names?
1
button1|comment,button2,button3
Oo
So stop being idiots, why in the world would DC add an invisible menu!?
Yates has written
why in the world would DC add an invisible menu!?
For passwords and to register when people click a number key.
Yates has written
He's trolling you, there is no way you can change how the menu looks like (You can only make it bigger with @b) other than in your own settings. Where you can only change the colour.
So stop being idiots, why in the world would DC add an invisible menu!?
So stop being idiots, why in the world would DC add an invisible menu!?
Quote
But When i press F2 I cant change Weapon like when we open a normal menu...
Test it on your server and answer me!
menu
Happy eyes has written
Invisible menu exists, also bigger menu, menu with disabled buttons and menus with spaces. Check lua command menu
menu
menu
Thanks for repeating everything already posted here, mister obvious.
1