English Two pages menu

9 replies
Goto Page
To the start Previous 1 Next To the start
27.07.12 05:41:03 am
Up
knight-
User
Offline Off
Hi guys!
I want to make a 2 pages menu but I don't know how to make.Please help.
27.07.12 06:10:53 am
Up
Jynxxx
User
Offline Off
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
addhook("serveraction","_action")
function _action(id,a)
     if a == 1 then
          menu(id,"Test,1,2,3,4,5,6,7,8,Next")
     end
end

addhook("menu","_menu")
function _menu(id,title,button)
     if title== "Test" then
          if button == 9 then
               menu(id,"Test 2,1,2,3,4,5,6,7,8,9")
          end
     end
end
28.07.12 02:51:38 am
Up
RedizGaming
GAME BANNED
Offline Off
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
addhook("serveraction","_action")
function _action(id,b)
     if b == 1 then
          menu(id,"Menu,1,2,3,4,5,6,7,8,Next")
     end
end

addhook("menu","_menu")
function _menu(id,title,button)
     if title== "Test" then
          if button == 9 then
               menu(id,"Menu,9,10,11,12,13,14,15,16,17")
         end
end


> @user Jynxxx: @user knight-:
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
28.07.12 02:55:27 am
Up
Jynxxx
User
Offline Off
Looks like you just copied mine, wow you such a genius. And you missing an end.
28.07.12 03:22:29 am
Up
DevGru
User
Offline Off
user Jynxxx has written:
Looks like you just copied mine, wow you such a genius. And you missing an end.


Obviously.
IMG:http://steamsignature.com/status/default/76561198078087837.png
IMG:http://steamsignature.com/AddFriend.png
28.07.12 03:41:16 am
Up
PyKemis
User
Offline Off
file cs2d [EngiN33R] UniMenu (31) easy to use and its documentation is well written on the file information
28.07.12 07:25:35 pm
Up
RedizGaming
GAME BANNED
Offline Off
@user Jynxxx:

1 if title or button = 2 End
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
28.07.12 08:00:03 pm
Up
Jynxxx
User
Offline Off
You have 2 if statements and 1 function so its 3 ends!!
28.07.12 08:20:36 pm
Up
RedizGaming
GAME BANNED
Offline Off
Sory @user Jynxxx:
No Read if button
3 end
@user Jynxxx: Sory I'm Stupid
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
28.07.12 08:26:43 pm
Up
Jynxxx
User
Offline Off
Code:
1
2
3
4
5
6
7
8
addhook("menu","_menu")
function _menu(id,title,button) -- this is your menu function you place one end at the bottom or after done with the hook
     if title== "Test" then  -- If statements need 1 end at all times
          if button == 9 then -- here is another if statement so you place another end
               menu(id,"Menu,9,10,11,12,13,14,15,16,17")
          end -- this end is to close the if button statement
     end -- this end it to close the if title statement
end -- this end is to close the function
To the start Previous 1 Next To the start