Könnte vll jemand von euch ein lua daraus machen?
Spoiler
function admmenu(id,title,buton)
thenames(i)
if title=="Admin Menu" then
if buton==1 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
elseif buton==2 then
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==3 then
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==4 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
elseif buton==5 then
menu(id,"Change Maps,Message - Changing Map,NoPain V5, NoPain V6, NoPain V7,NoPain V8,Back")
elseif buton==6 then
parse('restart')
elseif buton==7 then
menu(id,"Messages,Restart?,Everything Allright?,Shopkillers,Admin here,love,Back")
elseif buton==8 then
menu(id,"Make Explosions,Explosion 5|R:1000,Back")
elseif buton==9 then
menu(id,"Admin Menu <More>,Bring a Player,Teleport To Player,Change Say Colour,Back")
end
end
if title=="Server Settings" then
if buton==1 then
menu(id,"Change Game Mode,Standart,Deathmatch,Team Deathmatch,Construction,Zombies,Back")
elseif buton==2 then
menu(id,"FriendlyFire,On,Off,Back")
elseif buton==3 then
elseif buton==4 then
menu(id,"Infammo,On,Off,Back")
elseif buton==5 then
menu(id,"AntiSpeeder,On,Off,Back")
elseif buton==6 then
menu(id,"Deathdrop,On,Off,Back")
elseif buton==7 then
menu(id,"TMP Strength,On,Off,Back")
elseif buton==8 then
menu(id,"Admin Menu <More>,Bring a Player,Teleport To Player,Change Say Colour,Back")
end
end
if title=="Change Maps" then
if buton==1 then
parse('msg Changing Map...@C')
elseif buton==2 then
parse('changemap NoPain_Happy Town V.5')
elseif buton==3 then
parse('changemap NoPain_Happy Town V.6')
elseif buton==4 then
parse('changemap NoPain_Happy Town V.7')
elseif buton==5 then
parse('changemap NoPain_Happy Town V.8')
elseif buton==6 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Messages" then
if buton==1 then
parse('msg Restart??@C')
elseif buton==2 then
parse('msg Everything Allright??@C')
elseif buton==3 then
parse('msg Do Not ShopKill Or You Will Get Kicked!@C')
elseif buton==4 then
parse('msg Admin is/are here!@C')
elseif buton==5 then
parse('msg I love u <3@C')
elseif buton==6 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Spawn Creature" then
if buton==1 then
parse('spawnnpc 1 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==2 then
parse('spawnnpc 2 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==3 then
parse('spawnnpc 3 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==4 then
parse('spawnnpc 4 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==5 then
parse('spawnnpc 5 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==6 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Change Game Mode" then
if buton==1 then
parse('sv_gamemode 0')
elseif buton==2 then
parse('sv_gamemode 1')
elseif buton==3 then
parse('sv_gamemode 2')
elseif buton==4 then
parse('sv_gamemode 3')
elseif buton==5 then
parse('sv_gamemode 4')
elseif buton==6 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="FriendlyFire" then
if buton==1 then
parse('sv_friendlyfire 1')
elseif buton==2 then
parse('sv_friendlyfire 0')
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="Fog Of War" then
if buton==1 then
parse('sv_fow 1')
elseif buton==2 then
parse('sv_fow 0')
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="Infammo" then
if buton==1 then
parse('mp_infammo 1')
elseif buton==2 then
parse('mp_infammo 0')
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="AntiSpeeder" then
if buton==1 then
parse('mp_antispeeder 1')
msg("AntiSpeeder Enabled!@C")
elseif buton==2 then
parse('mp_antispeeder 0')
msg("AntiSpeeder Disabled!@C")
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="Deathdrop" then
if buton==1 then
parse('mp_deathdrop 0')
msg("DeathDrop Enabled!@C")
elseif buton==2 then
parse('mp_deathdrop 4')
msg("DeathDrop Disabled!@C")
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="TMP Strength" then
if buton==1 then
parse('mp_wpndmg TMP 999999999')
elseif buton==2 then
parse('mp_wpndmg TMP 1')
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="Spawn Object" then
if buton==1 then
parse('spawnobject 5 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Turret,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==2 then
parse('spawnobject 6 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==3 then
parse('spawnobject 7 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==4 then
parse('spawnobject 12 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==5 then
parse('spawnobject 15 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==6 then
parse('spawnobject 13 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==7 then
parse('spawnobject 14 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==8 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
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,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==4 then
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==5 then
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==6 then
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==7 then
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==8 then
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==9 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Pistols" then
if buton==1 then
parse('spawnitem 2 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==2 then
parse('spawnitem 1 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==3 then
parse('spawnitem 3 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==4 then
parse('spawnitem 4 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==5 then
parse('spawnitem 5 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==6 then
parse('spawnitem 6 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Shotguns,M3,XM1014,Back")
elseif buton==2 then
parse('spawnitem 11 '..(cx[id]/32)..' '..(cy[id]/32))
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=="Rifles" then
if buton==1 then
parse('spawnitem 30 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==2 then
parse('spawnitem 32 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==3 then
parse('spawnitem 39 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==4 then
parse('spawnitem 38 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==5 then
parse('spawnitem 31 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==6 then
parse('spawnitem 33 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==7 then
parse('spawnitem 34 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==8 then
parse('spawnitem 35 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==9 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Armors" then
if buton==1 then
parse('spawnitem 57 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==2 then
parse('spawnitem 52 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==3 then
parse('spawnitem 53 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==4 then
parse('spawnitem 54 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==5 then
parse('spawnitem 73 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==6 then
parse('spawnitem 72 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==7 then
parse('spawnitem 76 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==8 then
parse('spawnitem 86 '..(cx[id]/32)..' '..(cy[id]/32))
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,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Melee" then
if buton==1 then
parse('spawnitem 69 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==2 then
parse('spawnitem 74 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==3 then
parse('spawnitem 78 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==4 then
parse('spawnitem 85 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==5 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Admin-Weapons" then
if buton==1 then
parse('spawnitem 45 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==2 then
parse('spawnitem 46 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==3 then
parse('spawnitem 47 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==4 then
parse('spawnitem 48 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==5 then
parse('spawnitem 49 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==6 then
parse('spawnitem 88 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==7 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Others" then
if buton==1 then
parse('spawnitem 41 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==2 then
parse('spawnitem 56 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==3 then
parse('spawnitem 59 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==4 then
parse('spawnitem 64 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==5 then
parse('spawnitem 68 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==6 then
parse('spawnitem 75 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==7 then
parse('spawnitem 77 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==8 then
parse('spawnitem 87 '..(cx[id]/32)..' '..(cy[id]/32))
elseif buton==9 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Admin Menu <More>" then
if buton==1 then
thenames(i)
menu(id,"Bring Player To You - Page 1/4,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
elseif buton==2 then
thenames(i)
menu(id,"Teleport To Player - Page 1/4,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
elseif buton==3 then
menu(id,"Change Say Colour,Red,Green,Blue,Yellow,Black,White,Orange,Cyan,Back")
elseif buton==4 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Teleport To Player - Page 1/4" then
if buton==1 then
parse('setpos '..id..' '..player(1,"x")..' '..player(1,"y"))
elseif buton==2 then
parse('setpos '..id..' '..player(2,"x")..' '..player(2,"y"))
elseif buton==3 then
parse('setpos '..id..' '..player(3,"x")..' '..player(3,"y"))
elseif buton==4 then
parse('setpos '..id..' '..player(4,"x")..' '..player(4,"y"))
elseif buton==5 then
parse('setpos '..id..' '..player(5,"x")..' '..player(5,"y"))
elseif buton==6 then
parse('setpos '..id..' '..player(6,"x")..' '..player(6,"y"))
elseif buton==7 then
parse('setpos '..id..' '..player(7,"x")..' '..player(7,"y"))
elseif buton==8 then
parse('setpos '..id..' '..player(8,"x")..' '..player(8,"y"))
elseif buton==9 then
menu(id,"Teleport To Player - Page 2/4,"..name[9]..","..name[10]..","..name[11]..","..name[12]..","..name[13]..","..name[14]..","..name[15]..","..name[16]..",Back")
end
end
if title=="Teleport To Player - Page 2/4" then
if buton==1 then
parse('setpos '..id..' '..player(9,"x")..' '..player(9,"y"))
elseif buton==2 then
parse('setpos '..id..' '..player(10,"x")..' '..player(10,"y"))
elseif buton==3 then
parse('setpos '..id..' '..player(11,"x")..' '..player(11,"y"))
elseif buton==4 then
parse('setpos '..id..' '..player(12,"x")..' '..player(12,"y"))
elseif buton==5 then
parse('setpos '..id..' '..player(13,"x")..' '..player(13,"y"))
elseif buton==6 then
parse('setpos '..id..' '..player(14,"x")..' '..player(14,"y"))
elseif buton==7 then
parse('setpos '..id..' '..player(15,"x")..' '..player(15,"y"))
elseif buton==8 then
parse('setpos '..id..' '..player(16,"x")..' '..player(16,"y"))
elseif buton==9 then
menu(id,"Teleport To Player - Page 3/4,"..name[17]..","..name[18]..","..name[19]..","..name[20]..","..name[21]..","..name[22]..","..name[23]..","..name[24]..",Next")
end
end
if title=="Teleport To Player - Page 3/4" then
if buton==1 then
parse('setpos '..id..' '..player(17,"x")..' '..player(17,"y"))
elseif buton==2 then
parse('setpos '..id..' '..player(18,"x")..' '..player(18,"y"))
elseif buton==3 then
parse('setpos '..id..' '..player(19,"x")..' '..player(19,"y"))
elseif buton==4 then
parse('setpos '..id..' '..player(20,"x")..' '..player(20,"y"))
elseif buton==5 then
parse('setpos '..id..' '..player(21,"x")..' '..player(21,"y"))
elseif buton==6 then
parse('setpos '..id..' '..player(22,"x")..' '..player(22,"y"))
elseif buton==7 then
parse('setpos '..id..' '..player(23,"x")..' '..player(23,"y"))
elseif buton==8 then
parse('setpos '..id..' '..player(24,"x")..' '..player(24,"y"))
elseif buton==9 then
menu(id,"Teleport To Player - Page 4/4,"..name[25]..","..name[26]..","..name[27]..","..name[28]..","..name[29]..","..name[30]..","..name[31]..","..name[32]..",Next")
end
end
if title=="Teleport To Player - Page 4/4" then
if buton==1 then
parse('setpos '..id..' '..player(25,"x")..' '..player(25,"y"))
elseif buton==2 then
parse('setpos '..id..' '..player(26,"x")..' '..player(26,"y"))
elseif buton==3 then
parse('setpos '..id..' '..player(27,"x")..' '..player(27,"y"))
elseif buton==4 then
parse('setpos '..id..' '..player(28,"x")..' '..player(28,"y"))
elseif buton==5 then
parse('setpos '..id..' '..player(29,"x")..' '..player(29,"y"))
elseif buton==6 then
parse('setpos '..id..' '..player(30,"x")..' '..player(30,"y"))
elseif buton==7 then
parse('setpos '..id..' '..player(31,"x")..' '..player(31,"y"))
elseif buton==8 then
parse('setpos '..id..' '..player(32,"x")..' '..player(32,"y"))
elseif buton==9 then
menu(id,"Teleport To Player - Page 1/4,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
end
end
if title=="Bring Player To You - Page 1/4" then
if buton==1 then
parse('spawnplayer 1 '..player(id,"x")..' '..player(id,"y"))
elseif buton==2 then
parse('spawnplayer 2 '..player(id,"x")..' '..player(id,"y"))
elseif buton==3 then
parse('spawnplayer 3 '..player(id,"x")..' '..player(id,"y"))
elseif buton==4 then
parse('spawnplayer 4 '..player(id,"x")..' '..player(id,"y"))
elseif buton==5 then
parse('spawnplayer 5 '..player(id,"x")..' '..player(id,"y"))
elseif buton==6 then
parse('spawnplayer 6 '..player(id,"x")..' '..player(id,"y"))
elseif buton==7 then
parse('spawnplayer 7 '..player(id,"x")..' '..player(id,"y"))
elseif buton==8 then
parse('spawnplayer 8 '..player(id,"x")..' '..player(id,"y"))
elseif buton==9 then
thenames(i)
menu(id,"Bring Player To You - Page 2/4,"..name[9]..","..name[10]..","..name[11]..","..name[12]..","..name[13]..","..name[14]..","..name[15]..","..name[16]..",Next")
end
end
if title=="Bring Player To You - Page 2/4" then
if buton==1 then
parse('spawnplayer 9 '..player(id,"x")..' '..player(id,"y"))
elseif buton==2 then
parse('spawnplayer 10 '..player(id,"x")..' '..player(id,"y"))
elseif buton==3 then
parse('spawnplayer 11 '..player(id,"x")..' '..player(id,"y"))
elseif buton==4 then
parse('spawnplayer 12 '..player(id,"x")..' '..player(id,"y"))
elseif buton==5 then
parse('spawnplayer 13 '..player(id,"x")..' '..player(id,"y"))
elseif buton==6 then
parse('spawnplayer 14 '..player(id,"x")..' '..player(id,"y"))
elseif buton==7 then
parse('spawnplayer 15 '..player(id,"x")..' '..player(id,"y"))
elseif buton==8 then
parse('spawnplayer 16 '..player(id,"x")..' '..player(id,"y"))
elseif buton==9 then
thenames(i)
menu(id,"Bring Player To You - Page 3/4,"..name[17]..","..name[18]..","..name[19]..","..name[20]..","..name[21]..","..name[22]..","..name[23]..","..name[24]..",Next")
end
end
if title=="Bring Player To You - Page 3/4" then
if buton==1 then
parse('spawnplayer 17 '..player(id,"x")..' '..player(id,"y"))
elseif buton==2 then
parse('spawnplayer 18 '..player(id,"x")..' '..player(id,"y"))
elseif buton==3 then
parse('spawnplayer 19 '..player(id,"x")..' '..player(id,"y"))
elseif buton==4 then
parse('spawnplayer 20 '..player(id,"x")..' '..player(id,"y"))
elseif buton==5 then
parse('spawnplayer 21 '..player(id,"x")..' '..player(id,"y"))
elseif buton==6 then
parse('spawnplayer 22 '..player(id,"x")..' '..player(id,"y"))
elseif buton==7 then
parse('spawnplayer 23 '..player(id,"x")..' '..player(id,"y"))
elseif buton==8 then
parse('spawnplayer 24 '..player(id,"x")..' '..player(id,"y"))
elseif buton==9 then
thenames(i)
menu(id,"Bring Player To You - Page 4/4,"..name[25]..","..name[26]..","..name[27]..","..name[28]..","..name[29]..","..name[30]..","..name[31]..","..name[32]..",Next")
end
end
if title=="Bring Player To You - Page 4/4" then
if buton==1 then
parse('spawnplayer 24 '..player(id,"x")..' '..player(id,"y"))
elseif buton==2 then
parse('spawnplayer 25 '..player(id,"x")..' '..player(id,"y"))
elseif buton==3 then
parse('spawnplayer 26 '..player(id,"x")..' '..player(id,"y"))
elseif buton==4 then
parse('spawnplayer 27 '..player(id,"x")..' '..player(id,"y"))
elseif buton==5 then
parse('spawnplayer 28 '..player(id,"x")..' '..player(id,"y"))
elseif buton==6 then
parse('spawnplayer 29 '..player(id,"x")..' '..player(id,"y"))
elseif buton==7 then
parse('spawnplayer 30 '..player(id,"x")..' '..player(id,"y"))
elseif buton==8 then
parse('spawnplayer 31 '..player(id,"x")..' '..player(id,"y"))
elseif buton==9 then
parse('spawnplayer 32 '..player(id,"x")..' '..player(id,"y"))
elseif buton==10 then
thenames(i)
menu(id,"Teleport To Player - Page 1/4,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
end
end
if title=="Make Explosions" then
if buton==1 then
parse('explosion '..cx[id]..' '..cy[id]..' 1000 1000 '..id)
menu(id,"Make Explosions,Explosion 5|R:1000,Back")
elseif buton==2 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
end
thenames(i)
if title=="Admin Menu" then
if buton==1 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
elseif buton==2 then
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==3 then
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==4 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
elseif buton==5 then
menu(id,"Change Maps,Message - Changing Map,NoPain V5, NoPain V6, NoPain V7,NoPain V8,Back")
elseif buton==6 then
parse('restart')
elseif buton==7 then
menu(id,"Messages,Restart?,Everything Allright?,Shopkillers,Admin here,love,Back")
elseif buton==8 then
menu(id,"Make Explosions,Explosion 5|R:1000,Back")
elseif buton==9 then
menu(id,"Admin Menu <More>,Bring a Player,Teleport To Player,Change Say Colour,Back")
end
end
if title=="Server Settings" then
if buton==1 then
menu(id,"Change Game Mode,Standart,Deathmatch,Team Deathmatch,Construction,Zombies,Back")
elseif buton==2 then
menu(id,"FriendlyFire,On,Off,Back")
elseif buton==3 then
elseif buton==4 then
menu(id,"Infammo,On,Off,Back")
elseif buton==5 then
menu(id,"AntiSpeeder,On,Off,Back")
elseif buton==6 then
menu(id,"Deathdrop,On,Off,Back")
elseif buton==7 then
menu(id,"TMP Strength,On,Off,Back")
elseif buton==8 then
menu(id,"Admin Menu <More>,Bring a Player,Teleport To Player,Change Say Colour,Back")
end
end
if title=="Change Maps" then
if buton==1 then
parse('msg Changing Map...@C')
elseif buton==2 then
parse('changemap NoPain_Happy Town V.5')
elseif buton==3 then
parse('changemap NoPain_Happy Town V.6')
elseif buton==4 then
parse('changemap NoPain_Happy Town V.7')
elseif buton==5 then
parse('changemap NoPain_Happy Town V.8')
elseif buton==6 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Messages" then
if buton==1 then
parse('msg Restart??@C')
elseif buton==2 then
parse('msg Everything Allright??@C')
elseif buton==3 then
parse('msg Do Not ShopKill Or You Will Get Kicked!@C')
elseif buton==4 then
parse('msg Admin is/are here!@C')
elseif buton==5 then
parse('msg I love u <3@C')
elseif buton==6 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Spawn Creature" then
if buton==1 then
parse('spawnnpc 1 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==2 then
parse('spawnnpc 2 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==3 then
parse('spawnnpc 3 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==4 then
parse('spawnnpc 4 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==5 then
parse('spawnnpc 5 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Spawn Creature,Zombie,HeadCrab,Snark,Vortigaunt,Soldier,Back")
elseif buton==6 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Change Game Mode" then
if buton==1 then
parse('sv_gamemode 0')
elseif buton==2 then
parse('sv_gamemode 1')
elseif buton==3 then
parse('sv_gamemode 2')
elseif buton==4 then
parse('sv_gamemode 3')
elseif buton==5 then
parse('sv_gamemode 4')
elseif buton==6 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="FriendlyFire" then
if buton==1 then
parse('sv_friendlyfire 1')
elseif buton==2 then
parse('sv_friendlyfire 0')
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="Fog Of War" then
if buton==1 then
parse('sv_fow 1')
elseif buton==2 then
parse('sv_fow 0')
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="Infammo" then
if buton==1 then
parse('mp_infammo 1')
elseif buton==2 then
parse('mp_infammo 0')
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="AntiSpeeder" then
if buton==1 then
parse('mp_antispeeder 1')
msg("AntiSpeeder Enabled!@C")
elseif buton==2 then
parse('mp_antispeeder 0')
msg("AntiSpeeder Disabled!@C")
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="Deathdrop" then
if buton==1 then
parse('mp_deathdrop 0')
msg("DeathDrop Enabled!@C")
elseif buton==2 then
parse('mp_deathdrop 4')
msg("DeathDrop Disabled!@C")
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="TMP Strength" then
if buton==1 then
parse('mp_wpndmg TMP 999999999')
elseif buton==2 then
parse('mp_wpndmg TMP 1')
elseif buton==3 then
menu(id,"Server Settings,Gamemode,FriendlyFire,Server Name,Infammo,AntiSpeeder,DeathDrop,TMP Strength,Back")
end
end
if title=="Spawn Object" then
if buton==1 then
parse('spawnobject 5 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Turret,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==2 then
parse('spawnobject 6 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==3 then
parse('spawnobject 7 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==4 then
parse('spawnobject 12 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==5 then
parse('spawnobject 15 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==6 then
parse('spawnobject 13 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==7 then
parse('spawnobject 14 '..(cx[id]/32)..' '..(cy[id]/32)..' 1 1 '..player(id,"team")..' '..id)
menu(id,"Spawn Object,Wall III,Gate Field,Dispenser,Triple Turret,Super Supply,Teleporter Entrance,Teleporter Exit,Back")
elseif buton==8 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
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,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==4 then
menu(id,"Armors,Kevlar,Kevlar+Helmet,Light Armor,Medium Armor,Heavy Armor,Medic Armor,Shealth Suit,Super Armor,Back")
elseif buton==5 then
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==6 then
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==7 then
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==8 then
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==9 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Pistols" then
if buton==1 then
parse('spawnitem 2 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==2 then
parse('spawnitem 1 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==3 then
parse('spawnitem 3 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==4 then
parse('spawnitem 4 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==5 then
parse('spawnitem 5 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Pistols,Glock,USP,Deagle,P228,Elite,Five-Seven,Back")
elseif buton==6 then
parse('spawnitem 6 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Shotguns,M3,XM1014,Back")
elseif buton==2 then
parse('spawnitem 11 '..(cx[id]/32)..' '..(cy[id]/32))
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=="Rifles" then
if buton==1 then
parse('spawnitem 30 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==2 then
parse('spawnitem 32 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==3 then
parse('spawnitem 39 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==4 then
parse('spawnitem 38 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==5 then
parse('spawnitem 31 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==6 then
parse('spawnitem 33 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==7 then
parse('spawnitem 34 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==8 then
parse('spawnitem 35 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Rifles,Ak-47,M4A1,Famas,Galil,SG552,Steyr Aug,Scout,Awp,Back")
elseif buton==9 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Armors" then
if buton==1 then
parse('spawnitem 57 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
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 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==2 then
parse('spawnitem 52 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==3 then
parse('spawnitem 53 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==4 then
parse('spawnitem 54 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==5 then
parse('spawnitem 73 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==6 then
parse('spawnitem 72 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==7 then
parse('spawnitem 76 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Grenades,HE Grenade,Flashbang,Smoke Grenade,Flare,Molotov Cocktail,Gas Grenade,Airstrike,Gut Bomb,Back")
elseif buton==8 then
parse('spawnitem 86 '..(cx[id]/32)..' '..(cy[id]/32))
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,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Melee" then
if buton==1 then
parse('spawnitem 69 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==2 then
parse('spawnitem 74 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==3 then
parse('spawnitem 78 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==4 then
parse('spawnitem 85 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Melee,Machete,Wrench,Claw,Chainsaw,Back")
elseif buton==5 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Admin-Weapons" then
if buton==1 then
parse('spawnitem 45 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==2 then
parse('spawnitem 46 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==3 then
parse('spawnitem 47 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==4 then
parse('spawnitem 48 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==5 then
parse('spawnitem 49 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==6 then
parse('spawnitem 88 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Admin-Weapons,Laser,Flamethrower,RPG,Rocket Launcher,Grenade Launcher,PGun,Back")
elseif buton==7 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Others" then
if buton==1 then
parse('spawnitem 41 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==2 then
parse('spawnitem 56 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==3 then
parse('spawnitem 59 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==4 then
parse('spawnitem 64 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==5 then
parse('spawnitem 68 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==6 then
parse('spawnitem 75 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==7 then
parse('spawnitem 77 '..(cx[id]/32)..' '..(cy[id]/32))
menu(id,"Others,Tactical Shield,Defuse Kit,Night Vision,Medikit,Gold,Snowball,Mine,Lasermine,Back")
elseif buton==8 then
parse('spawnitem 87 '..(cx[id]/32)..' '..(cy[id]/32))
elseif buton==9 then
menu(id,"Spawn Item,Pistols,Shotguns,Rifles,Armors,Grenades,Melee,Admin-Weapons,Others,Back")
end
end
if title=="Admin Menu <More>" then
if buton==1 then
thenames(i)
menu(id,"Bring Player To You - Page 1/4,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
elseif buton==2 then
thenames(i)
menu(id,"Teleport To Player - Page 1/4,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
elseif buton==3 then
menu(id,"Change Say Colour,Red,Green,Blue,Yellow,Black,White,Orange,Cyan,Back")
elseif buton==4 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
if title=="Teleport To Player - Page 1/4" then
if buton==1 then
parse('setpos '..id..' '..player(1,"x")..' '..player(1,"y"))
elseif buton==2 then
parse('setpos '..id..' '..player(2,"x")..' '..player(2,"y"))
elseif buton==3 then
parse('setpos '..id..' '..player(3,"x")..' '..player(3,"y"))
elseif buton==4 then
parse('setpos '..id..' '..player(4,"x")..' '..player(4,"y"))
elseif buton==5 then
parse('setpos '..id..' '..player(5,"x")..' '..player(5,"y"))
elseif buton==6 then
parse('setpos '..id..' '..player(6,"x")..' '..player(6,"y"))
elseif buton==7 then
parse('setpos '..id..' '..player(7,"x")..' '..player(7,"y"))
elseif buton==8 then
parse('setpos '..id..' '..player(8,"x")..' '..player(8,"y"))
elseif buton==9 then
menu(id,"Teleport To Player - Page 2/4,"..name[9]..","..name[10]..","..name[11]..","..name[12]..","..name[13]..","..name[14]..","..name[15]..","..name[16]..",Back")
end
end
if title=="Teleport To Player - Page 2/4" then
if buton==1 then
parse('setpos '..id..' '..player(9,"x")..' '..player(9,"y"))
elseif buton==2 then
parse('setpos '..id..' '..player(10,"x")..' '..player(10,"y"))
elseif buton==3 then
parse('setpos '..id..' '..player(11,"x")..' '..player(11,"y"))
elseif buton==4 then
parse('setpos '..id..' '..player(12,"x")..' '..player(12,"y"))
elseif buton==5 then
parse('setpos '..id..' '..player(13,"x")..' '..player(13,"y"))
elseif buton==6 then
parse('setpos '..id..' '..player(14,"x")..' '..player(14,"y"))
elseif buton==7 then
parse('setpos '..id..' '..player(15,"x")..' '..player(15,"y"))
elseif buton==8 then
parse('setpos '..id..' '..player(16,"x")..' '..player(16,"y"))
elseif buton==9 then
menu(id,"Teleport To Player - Page 3/4,"..name[17]..","..name[18]..","..name[19]..","..name[20]..","..name[21]..","..name[22]..","..name[23]..","..name[24]..",Next")
end
end
if title=="Teleport To Player - Page 3/4" then
if buton==1 then
parse('setpos '..id..' '..player(17,"x")..' '..player(17,"y"))
elseif buton==2 then
parse('setpos '..id..' '..player(18,"x")..' '..player(18,"y"))
elseif buton==3 then
parse('setpos '..id..' '..player(19,"x")..' '..player(19,"y"))
elseif buton==4 then
parse('setpos '..id..' '..player(20,"x")..' '..player(20,"y"))
elseif buton==5 then
parse('setpos '..id..' '..player(21,"x")..' '..player(21,"y"))
elseif buton==6 then
parse('setpos '..id..' '..player(22,"x")..' '..player(22,"y"))
elseif buton==7 then
parse('setpos '..id..' '..player(23,"x")..' '..player(23,"y"))
elseif buton==8 then
parse('setpos '..id..' '..player(24,"x")..' '..player(24,"y"))
elseif buton==9 then
menu(id,"Teleport To Player - Page 4/4,"..name[25]..","..name[26]..","..name[27]..","..name[28]..","..name[29]..","..name[30]..","..name[31]..","..name[32]..",Next")
end
end
if title=="Teleport To Player - Page 4/4" then
if buton==1 then
parse('setpos '..id..' '..player(25,"x")..' '..player(25,"y"))
elseif buton==2 then
parse('setpos '..id..' '..player(26,"x")..' '..player(26,"y"))
elseif buton==3 then
parse('setpos '..id..' '..player(27,"x")..' '..player(27,"y"))
elseif buton==4 then
parse('setpos '..id..' '..player(28,"x")..' '..player(28,"y"))
elseif buton==5 then
parse('setpos '..id..' '..player(29,"x")..' '..player(29,"y"))
elseif buton==6 then
parse('setpos '..id..' '..player(30,"x")..' '..player(30,"y"))
elseif buton==7 then
parse('setpos '..id..' '..player(31,"x")..' '..player(31,"y"))
elseif buton==8 then
parse('setpos '..id..' '..player(32,"x")..' '..player(32,"y"))
elseif buton==9 then
menu(id,"Teleport To Player - Page 1/4,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
end
end
if title=="Bring Player To You - Page 1/4" then
if buton==1 then
parse('spawnplayer 1 '..player(id,"x")..' '..player(id,"y"))
elseif buton==2 then
parse('spawnplayer 2 '..player(id,"x")..' '..player(id,"y"))
elseif buton==3 then
parse('spawnplayer 3 '..player(id,"x")..' '..player(id,"y"))
elseif buton==4 then
parse('spawnplayer 4 '..player(id,"x")..' '..player(id,"y"))
elseif buton==5 then
parse('spawnplayer 5 '..player(id,"x")..' '..player(id,"y"))
elseif buton==6 then
parse('spawnplayer 6 '..player(id,"x")..' '..player(id,"y"))
elseif buton==7 then
parse('spawnplayer 7 '..player(id,"x")..' '..player(id,"y"))
elseif buton==8 then
parse('spawnplayer 8 '..player(id,"x")..' '..player(id,"y"))
elseif buton==9 then
thenames(i)
menu(id,"Bring Player To You - Page 2/4,"..name[9]..","..name[10]..","..name[11]..","..name[12]..","..name[13]..","..name[14]..","..name[15]..","..name[16]..",Next")
end
end
if title=="Bring Player To You - Page 2/4" then
if buton==1 then
parse('spawnplayer 9 '..player(id,"x")..' '..player(id,"y"))
elseif buton==2 then
parse('spawnplayer 10 '..player(id,"x")..' '..player(id,"y"))
elseif buton==3 then
parse('spawnplayer 11 '..player(id,"x")..' '..player(id,"y"))
elseif buton==4 then
parse('spawnplayer 12 '..player(id,"x")..' '..player(id,"y"))
elseif buton==5 then
parse('spawnplayer 13 '..player(id,"x")..' '..player(id,"y"))
elseif buton==6 then
parse('spawnplayer 14 '..player(id,"x")..' '..player(id,"y"))
elseif buton==7 then
parse('spawnplayer 15 '..player(id,"x")..' '..player(id,"y"))
elseif buton==8 then
parse('spawnplayer 16 '..player(id,"x")..' '..player(id,"y"))
elseif buton==9 then
thenames(i)
menu(id,"Bring Player To You - Page 3/4,"..name[17]..","..name[18]..","..name[19]..","..name[20]..","..name[21]..","..name[22]..","..name[23]..","..name[24]..",Next")
end
end
if title=="Bring Player To You - Page 3/4" then
if buton==1 then
parse('spawnplayer 17 '..player(id,"x")..' '..player(id,"y"))
elseif buton==2 then
parse('spawnplayer 18 '..player(id,"x")..' '..player(id,"y"))
elseif buton==3 then
parse('spawnplayer 19 '..player(id,"x")..' '..player(id,"y"))
elseif buton==4 then
parse('spawnplayer 20 '..player(id,"x")..' '..player(id,"y"))
elseif buton==5 then
parse('spawnplayer 21 '..player(id,"x")..' '..player(id,"y"))
elseif buton==6 then
parse('spawnplayer 22 '..player(id,"x")..' '..player(id,"y"))
elseif buton==7 then
parse('spawnplayer 23 '..player(id,"x")..' '..player(id,"y"))
elseif buton==8 then
parse('spawnplayer 24 '..player(id,"x")..' '..player(id,"y"))
elseif buton==9 then
thenames(i)
menu(id,"Bring Player To You - Page 4/4,"..name[25]..","..name[26]..","..name[27]..","..name[28]..","..name[29]..","..name[30]..","..name[31]..","..name[32]..",Next")
end
end
if title=="Bring Player To You - Page 4/4" then
if buton==1 then
parse('spawnplayer 24 '..player(id,"x")..' '..player(id,"y"))
elseif buton==2 then
parse('spawnplayer 25 '..player(id,"x")..' '..player(id,"y"))
elseif buton==3 then
parse('spawnplayer 26 '..player(id,"x")..' '..player(id,"y"))
elseif buton==4 then
parse('spawnplayer 27 '..player(id,"x")..' '..player(id,"y"))
elseif buton==5 then
parse('spawnplayer 28 '..player(id,"x")..' '..player(id,"y"))
elseif buton==6 then
parse('spawnplayer 29 '..player(id,"x")..' '..player(id,"y"))
elseif buton==7 then
parse('spawnplayer 30 '..player(id,"x")..' '..player(id,"y"))
elseif buton==8 then
parse('spawnplayer 31 '..player(id,"x")..' '..player(id,"y"))
elseif buton==9 then
parse('spawnplayer 32 '..player(id,"x")..' '..player(id,"y"))
elseif buton==10 then
thenames(i)
menu(id,"Teleport To Player - Page 1/4,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
end
end
if title=="Make Explosions" then
if buton==1 then
parse('explosion '..cx[id]..' '..cy[id]..' 1000 1000 '..id)
menu(id,"Make Explosions,Explosion 5|R:1000,Back")
elseif buton==2 then
menu(id,"Admin Menu,Server Settings,Spawn Creature,Spawn Object,Spawn Item,Change Maps,Restart,Messages,Make Explosions,More -->")
end
end
end