Spoiler Admins = {xxxxx}
vip = {xxxxx}
mode = {xxxxx}
adminlist = {xxxxx}
addhook("say","modsay")
function modsay(id,txt)
for _, usgn in ipairs(Admins) do
if player(id,'usgn') == usgn then
msg("©022172253"..player(id,"name").." (MODERATOR): "..txt)
return 1
end -- Endet if-schleife
end -- Endet for-schleife
for _, usgn in ipairs(vip) do
if player(id,'usgn') == usgn then
msg("©193000255"..player(id,"name").." (VIP): "..txt)
return 1
end -- Endet if-schleife
end -- Endet for-schleife
for _, usgn in ipairs(mode) do
if player(id,'usgn') == usgn then
msg("©003255204"..player(id,"name").." (Super-Admin): "..txt)
return 1
end
end
for _, usgn in ipairs(adminlist) do
if player(id,'usgn') == usgn then
msg("©255142043"..player(id,"name").." (SUPER-MOD): "..txt)
return 1
end -- Endet if-schleife
end -- Endet for-schleife
end
addhook("serveraction","adminaction")
function adminaction(id,b)
if b == 1 then
for _, usgn in ipairs(Admins) do
if player(id,'usgn') == usgn then
menu(id,"Moderator Menü,Kill,Kick,Slap,Change Team,Restart Round")
return 1
end
end
end
end
function k(pl)
parse("killplayer "..pl)
end
function ki(pl)
parse("kick "..pl.." '-'")
end
function ak(pl)
parse("slap "..pl)
end
function exist(a)
if player(a,"exists") then
return player(a,"name")
else
return "None"
end
end
addhook("menu","adminmenu")
function adminmenu(id,t,b)
if t=="Moderator Menü" then
if b==1 then
menu(id,"Kill Page 1@b,"..exist(1)..","..exist(2)..","..exist(3)..","..exist(4)..","..exist(5)..","..exist(6)..","..exist(7)..","..exist(8)..",Next")
elseif b==2 then
menu(id,"Kick Page 1@b,"..exist(1)..","..exist(2)..","..exist(3)..","..exist(4)..","..exist(5)..","..exist(6)..","..exist(7)..","..exist(8)..",Next")
elseif b==3 then
menu(id,"Slap Page 1@b,"..exist(1)..","..exist(2)..","..exist(3)..","..exist(4)..","..exist(5)..","..exist(6)..","..exist(7)..","..exist(8)..",Next")
elseif b==4 then
menu(id,"Change Team,Spectator,Terrorist,Counter-Terrorist")
elseif b==5 then
parse("restart")
end
elseif t=="Kill Page 1" then
if b==1 then
k(1)
elseif b==2 then
k(2)
elseif b==3 then
k(3)
elseif b==4 then
k(4)
elseif b==5 then
k(5)
elseif b==6 then
k(6)
elseif b==7 then
k(7)
elseif b==8 then
k(8)
elseif b==9 then
menu(id,"Kill Page 2@b,"..exist(9)..","..exist(10)..","..exist(11)..","..exist(12)..","..exist(13)..","..exist(14)..","..exist(15)..","..exist(16)..",Next")
end
elseif t=="Kill Page 2" then
if b==1 then
k(9)
elseif b==2 then
k(10)
elseif b==3 then
k(11)
elseif b==4 then
k(12)
elseif b==5 then
k(13)
elseif b==6 then
k(14)
elseif b==7 then
k(15)
elseif b==8 then
k(16)
elseif b==9 then
menu(id,"Kill Page 3@b,"..exist(17)..","..exist(18)..","..exist(19)..","..exist(20)..","..exist(21)..","..exist(22)..","..exist(23)..","..exist(24)..",Next")
end
elseif t=="Kill Page 3" then
if b==1 then
k(17)
elseif b==2 then
k(18)
elseif b==3 then
k(19)
elseif b==4 then
k(20)
elseif b==5 then
k(21)
elseif b==6 then
k(22)
elseif b==7 then
k(23)
elseif b==8 then
k(24)
elseif b==9 then
menu(id,"Kill Page 4@b,"..exist(25)..","..exist(26)..","..exist(27)..","..exist(28)..","..exist(29)..","..exist(30)..","..exist(31)..","..exist(32))
end
elseif t=="Kill Page 4" then
if b==1 then
k(25)
elseif b==2 then
k(26)
elseif b==3 then
k(27)
elseif b==4 then
k(28)
elseif b==5 then
k(29)
elseif b==6 then
k(30)
elseif b==7 then
k(31)
elseif b==8 then
k(32)
end
elseif t=="Kick Page 1" then
if b==1 then
ki(1)
elseif b==2 then
ki(2)
elseif b==3 then
ki(3)
elseif b==4 then
ki(4)
elseif b==5 then
ki(5)
elseif b==6 then
ki(6)
elseif b==7 then
ki(7)
elseif b==8 then
ki(8)
elseif b==9 then
menu(id,"Kick Page 2@b,"..exist(9)..","..exist(10)..","..exist(11)..","..exist(12)..","..exist(13)..","..exist(14)..","..exist(15)..","..exist(16)..",Next")
end
elseif t=="Kick Page 2" then
if b==1 then
ki(9)
elseif b==2 then
ki(10)
elseif b==3 then
ki(11)
elseif b==4 then
ki(12)
elseif b==5 then
ki(13)
elseif b==6 then
ki(14)
elseif b==7 then
ki(15)
elseif b==8 then
ki(16)
elseif b==9 then
menu(id,"Kick Page 3@b,"..exist(17)..","..exist(18)..","..exist(19)..","..exist(20)..","..exist(21)..","..exist(22)..","..exist(23)..","..exist(24)..",Next")
end
elseif t=="Kick Page 3" then
if b==1 then
ki(17)
elseif b==2 then
ki(18)
elseif b==3 then
ki(19)
elseif b==4 then
ki(20)
elseif b==5 then
ki(21)
elseif b==6 then
ki(22)
elseif b==7 then
ki(23)
elseif b==8 then
ki(24)
elseif b==9 then
menu(id,"Kick Page 4@b,"..exist(25)..","..exist(26)..","..exist(27)..","..exist(28)..","..exist(29)..","..exist(30)..","..exist(31)..","..exist(32))
end
elseif t=="Kick Page 4" then
if b==1 then
ki(25)
elseif b==2 then
ki(26)
elseif b==3 then
ki(27)
elseif b==4 then
ki(28)
elseif b==5 then
ki(29)
elseif b==6 then
ki(30)
elseif b==7 then
ki(31)
elseif b==8 then
ki(32)
end
elseif t=="Slap Page 1" then
if b==1 then
ak(1)
elseif b==2 then
ak(2)
elseif b==3 then
ak(3)
elseif b==4 then
ak(4)
elseif b==5 then
ak(5)
elseif b==6 then
ak(6)
elseif b==7 then
ak(7)
elseif b==8 then
ak(8)
elseif b==9 then
menu(id,"Slap Page 2@b,"..exist(9)..","..exist(10)..","..exist(11)..","..exist(12)..","..exist(13)..","..exist(14)..","..exist(15)..","..exist(16)..",Next")
end
elseif t=="Slap Page 2" then
if b==1 then
ak(9)
elseif b==2 then
ak(10)
elseif b==3 then
ak(11)
elseif b==4 then
ak(12)
elseif b==5 then
ak(13)
elseif b==6 then
ak(14)
elseif b==7 then
ak(15)
elseif b==8 then
ak(16)
elseif b==9 then
menu(id,"Slap Page 3@b,"..exist(17)..","..exist(18)..","..exist(19)..","..exist(20)..","..exist(21)..","..exist(22)..","..exist(23)..","..exist(24)..",Next")
end
elseif t=="Slap Page 3" then
if b==1 then
ak(17)
elseif b==2 then
ak(18)
elseif b==3 then
ak(19)
elseif b==4 then
ak(20)
elseif b==5 then
ak(21)
elseif b==6 then
ak(22)
elseif b==7 then
ak(23)
elseif b==8 then
ak(24)
elseif b==9 then
menu(id,"Slap Page 4@b,"..exist(25)..","..exist(26)..","..exist(27)..","..exist(28)..","..exist(29)..","..exist(30)..","..exist(31)..","..exist(32))
end
elseif t=="Slap Page 4" then
if b==1 then
ak(25)
elseif b==2 then
ak(26)
elseif b==3 then
ak(27)
elseif b==4 then
ak(28)
elseif b==5 then
ak(29)
elseif b==6 then
ak(30)
elseif b==7 then
ak(31)
elseif b==8 then
ak(32)
end
elseif t=="Change Team" then
if b==1 then
parse("makespec "..id)
elseif b==2 then
parse("maket "..id)
elseif b==3 then
parse("makect "..id)
end
end
end
addhook("serveraction","adminsa")
function adminsa(id,act)
for _, usgn in ipairs(adminlist) do
if player(id,'usgn') == usgn then
if act==1 then
menu(id,"Admin Menu,Server Settings,Create NPC,Create Building,Create Explosion,Create Color Smoke,Spawn Item,Teleport")
end
return 1
end
end
end
addhook("menu","adminmenu")
function adminmenu(id,title,buton)
if title=="Admin Menu" then
if buton==1 then
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==2 then
menu(id,"Create NPC,Zombie,Headcrap,Snark,Back")
elseif buton==3 then
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==4 then
menu(id,"Create Explosion,Very Small Explosion,Small Explosion,Normal Explosion,High Explosion,Very High Explosion,Back")
elseif buton==5 then
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==6 then
menu(id,"Spawn Item,Pistols,Shotguns,SMGs,Rifles,Machine Gun,Armors,Grenades,Others,Back")
elseif buton==7 then
menu(id,"Teleport Menu,Up,Down,Right,Left,Back")
end
end
if title=="Server Settings" then
if buton==1 then
menu(id,"Infammo,On,Off,Back")
elseif buton==2 then
menu(id,"Autoteambalance,On,Off,Back")
elseif buton==3 then
menu(id,"Fog Of War,On,Off,Back")
elseif buton==4 then
menu(id,"Antispeeder,On,Off,Back")
elseif buton==5 then
menu(id,"Deathdrop,On,Off,Back")
elseif buton==6 then
menu(id,"Friendlyfire,On,Off,Back")
elseif buton==7 then
menu(id,"Change Game Mode,Standart,Deathmatch,Team Deathmatch,Construction,Zombies,Back")
elseif buton==8 then
menu(id,"Admin Menu,Server Settings,Create NPC,Create Building,Create Explosion,Create Color Smoke,SpawnItem,Teleport")
end
end
if title=="Create NPC" then
if buton==1 then
parse('spawnnpc 1 '..player(id,"tilex")..' '..(player(id,"tiley")-1)..' 180')
menu(id,"Create NPC,Zombie,Headcrap,Snark,Back")
elseif buton==2 then
parse('spawnnpc 2 '..player(id,"tilex")..' '..(player(id,"tiley")-1)..' 180')
menu(id,"Create NPC,Zombie,Headcrap,Snark,Back")
elseif buton==3 then
parse('spawnnpc 3 '..player(id,"tilex")..' '..(player(id,"tiley")-1)..' 180')
menu(id,"Create NPC,Zombie,Headcrap,Snark,Back")
elseif buton==4 then
menu(id,"Admin Menu,Server Settings,Create NPC,Create Building,Create Explosion,Create Color Smoke,Spawn Item,Teleport")
end
end
if title=="Create Building" then
if buton==1 then
parse('spawnobject 8 '..player(id,"tilex")..' '..(player(id,"tiley")+1)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==2 then
parse('spawnobject 7 '..player(id,"tilex")..' '..(player(id,"tiley")+1)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==3 then
parse('spawnobject 9 '..player(id,"tilex")..' '..(player(id,"tiley")+1)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==4 then
parse('spawnobject 6 '..player(id,"tilex")..' '..(player(id,"tiley")+1)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==5 then
parse('spawnobject 2 '..player(id,"tilex")..' '..(player(id,"tiley")+1)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==6 then
parse('spawnobject 3 '..player(id,"tilex")..' '..(player(id,"tiley")+1)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==7 then
parse('spawnobject 4 '..player(id,"tilex")..' '..(player(id,"tiley")+1)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==8 then
parse('spawnobject 5 '..player(id,"tilex")..' '..(player(id,"tiley")+1)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Create Building,Turret,Dispenser,Supply,Gate Field,Barbed Wire,Wall I,Wall II,Wall III,Back")
elseif buton==9 then
menu(id,"Admin Menu,Server Settings,Create NPC,Create Building,Create Explosion,Create Color Smoke,Spawn Item,Teleport")
end
end
if title=="Create Color Smoke" then
if buton==1 then
parse('effect "colorsmoke" '..player(id,"x")..' '..player(id,"y")..' 1 1 255 000 000')
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==2 then
parse('effect "colorsmoke" '..player(id,"x")..' '..player(id,"y")..' 1 1 000 255 000')
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==3 then
parse('effect "colorsmoke" '..player(id,"x")..' '..player(id,"y")..' 1 1 000 000 255')
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==4 then
parse('effect "colorsmoke" '..player(id,"x")..' '..player(id,"y")..' 1 1 255 255 000')
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==5 then
parse('effect "colorsmoke" '..player(id,"x")..' '..player(id,"y")..' 1 1 255 255 255')
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==6 then
parse('effect "colorsmoke" '..player(id,"x")..' '..player(id,"y")..' 1 1 000 000 000')
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==7 then
parse('effect "colorsmoke" '..player(id,"x")..' '..player(id,"y")..' 1 1 128 128 128')
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==8 then
parse('effect "colorsmoke" '..player(id,"x")..' '..player(id,"y")..' 1 1 255 076 000')
menu(id,"Create Color Smoke,Red,Green,Blue,Yellow,White,Black,Grey,Orange,Back")
elseif buton==9 then
menu(id,"Admin Menu,Server Settings,Create NPC,Create Building,Create Explosion,Create Color Smoke,Spawn Item,Teleport")
end
end
if title=="Infammo" then
if buton==1 then
parse('mp_infammo 1')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==2 then
parse('mp_infammo 0')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==3 then
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
end
end
if title=="Autoteambalance" then
if buton==1 then
parse('mp_autoteambalance 1')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==2 then
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
parse('mp_autoteambalance 0')
elseif buton==3 then
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
end
end
if title=="Fog Of War" then
if buton==1 then
parse('sv_fow 1')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==2 then
parse('sv_fow 0')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==3 then
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
end
end
if title=="Antispeeder" then
if buton==1 then
parse('mp_antispeeder 1')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==2 then
parse('mp_antispeeder 0')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==3 then
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
end
end
if title=="Deathdrop" then
if buton==1 then
parse('mp_deathdrop 0')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==2 then
parse('mp_deathdrop 4')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==3 then
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
end
end
if title=="Friendlyfire" then
if buton==1 then
parse('sv_friendlyfire 1')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==2 then
parse('sv_friendlyfire 0')
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
elseif buton==3 then
menu(id,"Server Settings,Infammo on/off,Autoteambalance on/off,Fog Of War on/off,Antispeeder on/off,Deathdrop on/off,FriendlyFire on/off,Game Mode,Back")
end
end
if title=="Change Game Mode" then
if buton==1 then
parse('sv_gm 0')
elseif buton==2 then
parse('sv_gm 1')
elseif buton==3 then
parse('sv_gm 2')
elseif buton==4 then
parse('sv_gm 3')
elseif buton==5 then
parse('sv_gm 4')
elseif buton==6 then
menu(id,"Admin Menu,Server Settings,Create NPC,Create Building,Create Explosion,Create Color Smoke,Spawn Item,Teleport")
end
end
if title=="Create Explosion" then
if buton==1 then
parse('explosion '..player(id,"x")..' '..player(id,"y")..' 25 25 '..id)
menu(id,"Create Explosion,Very Small Explosion,Small Explosion,Normal Explosion,High Explosion,Very High Explosion,Back")
elseif buton==2 then
parse('explosion '..player(id,"x")..' '..player(id,"y")..' 50 50 '..id)
menu(id,"Create Explosion,Very Small Explosion,Small Explosion,Normal Explosion,High Explosion,Very High Explosion,Back")
elseif buton==3 then
parse('explosion '..player(id,"x")..' '..player(id,"y")..' 100 100 '..id)
menu(id,"Create Explosion,Very Small Explosion,Small Explosion,Normal Explosion,High Explosion,Very High Explosion,Back")
elseif buton==4 then
parse('explosion '..player(id,"x")..' '..player(id,"y")..' 250 250 '..id)
menu(id,"Create Explosion,Very Small Explosion,Small Explosion,Normal Explosion,High Explosion,Very High Explosion,Back")
elseif buton==5 then
parse('explosion '..player(id,"x")..' '..player(id,"y")..' 750 750 '..id)
menu(id,"Create Explosion,Very Small Explosion,Small Explosion,Normal Explosion,High Explosion,Very High Explosion,Back")
elseif buton==6 then
menu(id,"Admin Menu,Server Settings,Create NPC,Create Building,Create Explosion,Create Color Smoke,Spawn Item,Teleport")
end
end
if title=="Spawn Item" then
if buton==1 then
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==2 then
menu(id,"Shotguns,M3,XM1014,Back")
elseif buton==3 then
menu(id,"SMGs,Mac10,TMP,UMP45,MP5,P90,Back")
elseif buton==4 then
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
elseif buton==5 then
parse('spawnitem 40 '..player(id,"tilex")..' '..player(id,"tiley"))
elseif buton==6 then
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==7 then
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==8 then
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
end
end
if title=="Pistols" then
if buton==1 then
parse('spawnitem 2 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==2 then
parse('spawnitem 1 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==3 then
parse('spawnitem 3 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==4 then
parse('spawnitem 4 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==5 then
parse('spawnitem 5 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==6 then
parse('spawnitem 6 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==7 then
menu(id,"Spawn Item,Pistols,Shotguns,SMGs,Rifles,Machine Gun,Armors,Grenades,Others,Back")
end
end
if title=="Shotguns" then
if buton==1 then
parse('spawnitem 10 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Shotguns,M3,XM1014,Back")
elseif buton==2 then
parse('spawnitem 11 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Shotguns,M3,XM1014,Back")
elseif buton==3 then
menu(id,"Spawn Item,Pistols,Shotguns,SMGs,Rifles,Machine Gun,Armors,Grenades,Others,Back")
end
end
if title=="SMGs" then
if buton==1 then
parse('spawnitem 23 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"SMGs,Mac10,TMP,UMP45,MP5,P90,Back")
elseif buton==2 then
parse('spawnitem 21 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"SMGs,Mac10,TMP,UMP45,MP5,P90,Back")
elseif buton==3 then
parse('spawnitem 24 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"SMGs,Mac10,TMP,UMP45,MP5,P90,Back")
elseif buton==4 then
parse('spawnitem 20 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"SMGs,Mac10,TMP,UMP45,MP5,P90,Back")
elseif buton==5 then
parse('spawnitem 22 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"SMGs,Mac10,TMP,UMP45,MP5,P90,Back")
elseif buton==6 then
menu(id,"Spawn Item,Pistols,Shotguns,SMGs,Rifles,Machine Gun,Armors,Grenades,Others,Back")
end
end
if title=="Rifles - Page 1/2" then
if buton==1 then
parse('spawnitem 30 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
elseif buton==2 then
parse('spawnitem 32 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
elseif buton==3 then
parse('spawnitem 39 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
elseif buton==4 then
parse('spawnitem 38 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
elseif buton==5 then
parse('spawnitem 31 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
elseif buton==6 then
parse('spawnitem 33 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
elseif buton==7 then
parse('spawnitem 34 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
elseif buton==8 then
menu(id,"Rifles - Page 2/2,AWP,SG550,G3SG1,Back")
elseif buton==9 then
menu(id,"Spawn Item,Pistols,Shotguns,SMGs,Rifles,Machine Gun,Armors,Grenades,Others,Back")
end
end
if title=="Rifles - Page 2/2" then
if buton==1 then
parse('spawnitem 35 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 2/2,AWP,SG550,G3SG1,Back")
elseif buton==2 then
parse('spawnitem 37 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 2/2,AWP,SG550,G3SG1,Back")
elseif buton==3 then
parse('spawnitem 36 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Rifles - Page 2/2,AWP,SG550,G3SG1,Back")
elseif buton==4 then
menu(id,"Rifles - Page 1/2,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Next,Back")
end
end
if title=="Armors" then
if buton==1 then
parse('spawnitem 57 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==2 then
parse('spawnitem 58 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==3 then
parse('spawnitem 79 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==4 then
parse('spawnitem 80 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==5 then
parse('spawnitem 81 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==6 then
parse('spawnitem 82 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==7 then
parse('spawnitem 84 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==8 then
parse('spawnitem 83 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==9 then
menu(id,"Spawn Item,Pistols,Shotguns,SMGs,Rifles,Machine Gun,Armors,Grenades,Others,Back")
end
end
if title=="Grenades" then
if buton==1 then
parse('spawnitem 51 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==2 then
parse('spawnitem 52 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==3 then
parse('spawnitem 53 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==4 then
parse('spawnitem 54 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==5 then
parse('spawnitem 73 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==6 then
parse('spawnitem 72 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==7 then
parse('spawnitem 76 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==8 then
parse('spawnitem 86 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==9 then
menu(id,"Spawn Item,Pistols,Shotguns,SMGs,Rifles,Machine Gun,Armors,Grenades,Others,Back")
end
end
if title=="Others - Page 1/3" then
if buton==1 then
parse('spawnitem 45 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
elseif buton==2 then
parse('spawnitem 47 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
elseif buton==3 then
parse('spawnitem 46 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
elseif buton==4 then
parse('spawnitem 49 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
elseif buton==5 then
parse('spawnitem 48 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
elseif buton==6 then
parse('spawnitem 88 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
elseif buton==7 then
parse('spawnitem 77 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
elseif buton==8 then
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
elseif buton==9 then
menu(id,"Spawn Item,Pistols,Shotguns,SMGs,Rifles,Machine Gun,Armors,Grenades,Others,Back")
end
end
if title=="Others - Page 2/3" then
if buton==1 then
parse('spawnitem 87 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
elseif buton==2 then
parse('spawnitem 41 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
elseif buton==3 then
parse('spawnitem 75 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
elseif buton==4 then
parse('spawnitem 74 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
elseif buton==5 then
parse('spawnitem 85 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
elseif buton==6 then
parse('spawnitem 50 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
elseif buton==7 then
parse('spawnitem 69 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
elseif buton==8 then
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==9 then
menu(id,"Others - Page 1/3,Laser,RPG Launcher,Flamethrower,Grenade Launcher,Rocket Launcher,Portal Gun,Mine,Next,Back")
end
end
if title=="Others - Page 3/3" then
if buton==1 then
parse('spawnitem 78 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==2 then
parse('spawnitem 55 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==3 then
parse('spawnitem 70 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==4 then
parse('spawnitem 71 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==5 then
parse('spawnitem 56 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==6 then
parse('spawnitem 59 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==7 then
parse('spawnitem 64 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==8 then
parse('spawnitem 68 '..player(id,"tilex")..' '..player(id,"tiley"))
menu(id,"Others - Page 3/3,Claw,Bomb,Red Flag,Blue Flag,Defuse Kit,Night Vision,Medikit,Gold,Back")
elseif buton==9 then
menu(id,"Others - Page 2/3,Laser Mine,Tactical Shield,Snowball,Wrench,Chainsaw,Knife,Machete,Next,Back")
end
end
if title=="Teleport Menu" then
if buton==1 then
parse('setpos '..id..' '..player(id,"x")..' '..(player(id,"y")-32))
menu(id,"Teleport Menu,Up,Down,Right,Left,Back")
elseif buton==2 then
parse('setpos '..id..' '..player(id,"x")..' '..(player(id,"y")+32))
menu(id,"Teleport Menu,Up,Down,Right,Left,Back")
elseif buton==3 then
parse('setpos '..id..' '..(player(id,"x")+32)..' '..player(id,"y"))
menu(id,"Teleport Menu,Up,Down,Right,Left,Back")
elseif buton==4 then
parse('setpos '..id..' '..(player(id,"x")-32)..' '..player(id,"y"))
menu(id,"Teleport Menu,Up,Down,Right,Left,Back")
elseif buton==5 then
menu(id,"Admin Menu,Server Settings,Create NPC,Create Building,Create Explosion,Create Color Smoke,Spawn Item,Teleport")
end
end
end[/code]