English Hel with menu

13 replies
Goto Page
To the start Previous 1 Next To the start
24.09.12 03:01:11 pm
Up
Black Wolf
User
Offline Off
Code:
1
2
3
4
5
6
7
8
9
10
if a == 1 then
          if level[id] == 1 then
               menu(id,"Vip Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] == 2 then
               menu(id,"Member Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] == 3 or 4 or 5 then
               menu(id,"Mod Menu,Heavy Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] == 6 or 7 or 8 then
               menu(id,"min Menu,FN F2000,Heavy Armor,Medic Armor,M134,Tmp,Superarmor,God mode| on/off,,Teleport")
          end
come 1n1 skype

Admin/mod comment:

This title... oh my...
24.09.12 03:03:53 pm
Up
Jynxxx
User
Offline Off
Code:
1
2
3
4
5
6
7
8
9
10
if a == 1 then
          if level[id] == 1 then
               menu(id,"Vip Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] == 2 then
               menu(id,"Member Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] == 3 or 4 or 5 then
               menu(id,"Mod Menu,Heavy Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] >= 6 then
               menu(id,"min Menu,FN F2000,Heavy Armor,Medic Armor,M134,Tmp,Superarmor,God mode| on/off,,Teleport")
          end
24.09.12 03:07:54 pm
Up
Black Wolf
User
Offline Off
Code:
1
2
3
4
5
6
7
8
9
10
if a == 1 then
          if level[id] == 1 then
               menu(id,"Vip Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] == 2 then
               menu(id,"Member Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] == 3 or 4 or 5 then
               menu(id,"Mod Menu,Heavy Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] >= 6 or 7 or 8 then
               menu(id,"min Menu,FN F2000,Heavy Armor,Medic Armor,M134,Tmp,Superarmor,God mode| on/off,,Teleport")
          end


Still not working...
come 1n1 skype
24.09.12 03:11:39 pm
Up
Yates
Reviewer
Offline Off
How about you add another end?
24.09.12 03:22:15 pm
Up
Jynxxx
User
Offline Off
@user Yates: What he needs is to show his whole menu function.
24.09.12 04:33:17 pm
Up
uaiek
User
Offline Off
maybe this?
Spoiler >
It seems to be good.
24.09.12 05:04:32 pm
Up
omg
User
Offline Off
u have too many commas
will code for food
24.09.12 05:51:10 pm
Up
TimeQuesT
User
Offline Off
Dude. Start learning lua instead of copying/recoding stuff.
Muh
24.09.12 06:28:24 pm
Up
krabob
User
Offline Off
To "Hel with menu" indeed.
People help the people
25.09.12 08:54:09 am
Up
UnkN
User
Offline Off
Code:
1
2
3
4
5
6
7
8
9
10
11
if a == 1 then
          if level[id] == 1 then
               menu(id,"Vip Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          elseif level[id] == 2 then
               menu(id,"Member Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          elseif level[id]>=3 and level[id]<=5 then
               menu(id,"Mod Menu,Heavy Armor,FN F2000,,,,,,,Teleport")
          elseif level[id]>=6 and level[id]<=8 then
               menu(id,"Min Menu,FN F2000,Heavy Armor,Medic Armor,M134,Tmp,Superarmor,God mode| on/off,,Teleport")
          end
     end

It works
Nothing here.
25.09.12 10:12:05 am
Up
EngiN33R
Moderator
Offline Off
user omg has written:
u have too many commas

Commas without anything between them mean empty spaces - the more you know.
I code, therefore I exist. | Visit my blog for Lua tips and other interesting info
25.09.12 06:19:58 pm
Up
danh
User
Offline Off
user EngiN33R has written:
user omg has written:
u have too many commas

Commas without anything between them mean empty spaces - the more you know.

like
Code:
,nil,nil,nil, ...
25.09.12 06:32:54 pm
Up
sheeL
User
Offline Off
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
if a == 1 then
          if level[id] == 1 then
               menu(id,"Vip Menu,Medic Armor,FN F2000,,,,,,,Teleport")
          if level[id] == 2 then
               menu(id,"Member Menu,Medic Armor,FN F2000,,,,,,,Teleport")
             end
          if level[id]>=3 and level[id]<=5 then
               menu(id,"Mod Menu,Heavy Armor,FN F2000,,,,,,,Teleport")
            end
          if level[id]>=6 and level[id]<=8 then
               menu(id,"Min Menu,FN F2000,Heavy Armor,Medic Armor,M134,Tmp,Superarmor,God mode| on/off,,Teleport")
          end
          end
25.09.12 06:35:05 pm
Up
EngiN33R
Moderator
Offline Off
user danh has written:
user EngiN33R has written:
user omg has written:
u have too many commas

Commas without anything between them mean empty spaces - the more you know.

like
Code:
,nil,nil,nil, ...


Almost, except in reality that would just make a load of buttons called 'nil'.

@user sheeL: With your code, unless the conditional statement is the only expression in its chunk, it would close the chunk because of that last end. user UnkN's code is correct if it's one of many expressions in its chunk.
I code, therefore I exist. | Visit my blog for Lua tips and other interesting info
To the start Previous 1 Next To the start