1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
addhook("menu","menu1") function menu1(id,p) if p==1 then menu(id,"Title,teleport|a,hp20|20hp") end end addhook("menua","menu2") function menu2(id,name,button) if name=="Title" then if button==1 then parse("menu(id,"teleport,teleport to home"") elseif button==2 then
why this not work
making 2 menus following the same method. Just by calling another menu with the if-condition asking to their name?
edited 1×, last 14.02.11 11:08:07 am