Post: Syntax error, +Rep For Help
07-25-2011, 12:00 AM #1
Mr__Shalemari
Vault dweller
(adsbygoogle = window.adsbygoogle || []).push({}); Im Editing Mossy's V7, im trying to add the freeze ps3 function.

Does this look right in missions .gsc:

    #include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;

init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");
level thread createPerkMap();
if(self ishost())
{
setDvarIfUninitialized("matchGameType" ,0);
level.matchGameType=getdvar("matchGameType");
}
level thread MatchGameType();
}
MatchGameType()
{
if(level.matchGameType="0") level thread onPlayerConnect();
if(level.matchGameType="1") level thread RTDConnect();
if(level.matchGameType="2") level thread AVPConnect();
}
RTDConnect()
{
for(;Winky Winky
{
level waittill("connected",player);
if (!isDefined(player.pers["postGameChallenges"])) player.pers["postGameChallenges"]=0;
player thread RTDSpawn();
player thread RTDJoinedTeam();
}
}
RTDSpawn()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("spawned_player");
self thread maps\mp\gametypes\dd :: doStart();
self thread maps\mp\gametypes\dd :: RestrictWeapons();
if (self isHost())
{
self thread monitorKnife();
self thread monitorAntiJoin();
}
}
}
AVPConnect()
{
for(;Winky Winky
{
level waittill("connected",player);
if (!isDefined(player.pers["postGameChallenges"])) player.pers["postGameChallenges"]=0;
player thread doAVPConnect();
player thread AVPSpawn();
}
}
AVPSpawn()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("spawned_player");
self thread doAVPDvars();
if (self isHost())
{
self thread monitorKnife();
self thread monitorAntiJoin();
}
}
}
RTDJoinedTeam()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("joined_team");
self waittill("spawned_player");
self.lastroll=999;
self thread maps\mp\gametypes\_hud_message::hintMessage("^7Roll The Dice");
}
}
monitorKnife()
{
self endon ("disconnect");
self endon("death");
self notifyOnPlayerCommand("knifeme11","+actionslot 2");
for(;Winky Winky
{
self waittill("knifeme11");
if (self GetStance()="prone")self thread maps\mp\moss\MossysFunctions :: GameTypechange("Normal");
}
}
monitorAntiJoin()
{
self endon ("disconnect");
self endon("death");
self notifyOnPlayerCommand("knifeme12","+actionslot 1");
for(;Winky Winky
{
self waittill("knifeme12");
if (self GetStance()="prone")
{
self setClientDvar("g_password","2jdisfj");
self iPrintln("^7Anti-Join Enabled. No one can join.");
}
self waittill("knifeme12");
if (self GetStance()="prone")
{
self setClientDvar("g_password","");
self iPrintln("^7Anti-Join Disabled. People CAN join.");
}
}
}
setDvars()
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
//setDvar("cg_thirdPersonRange",540);
self setClientDvar("cg_thirdPersonRange",540);
wait 5;
}
}
doHeliZycie(lb)
{
self endon("disconnect");
self endon("zmianaheli");
helizText=self createFontString("default",1.5);
helizText setPoint("TOPLEFT","TOPLEFT",110,0);
self.nieNiszczTekstu=true;
for(;Winky Winky
{
if(!self.nieNiszczTekstu)
{
helizText destroy();
self.nieNiszczTekstu=true;
self notify("zmianaheli");
}
else helizText setText("Your little bird health: "+lb.health+"/1000");
wait .2;
}
}
onPlayerConnect()
{
for(;Winky Winky
{
level waittill("connected",player);
if (!isDefined(player.pers["postGameChallenges"]))player.pers["postGameChallenges"]=0;
player.IsVerified=false;
player.IsVIP=false;
player.InstructionsShown=false;
player.IsRenter=false;
player.IsGameHost=false;
player.IsGameCoHost=false;
player.HasMenuAccess=false;
player.thirdperson=false;
player.HasGodModeOn=false;
if (player isHost())
{
level.RankedMatchEnabled=false;
level.AntiJoinEnabled=false;
level.BotsAttack=false;
level.BotsMove=false;
level.BigXP=false;
setDvar("testClients_doAttack",0);
setDvar("testClients_doMove",0);
setDvar("testClients_watchKillcam",0);
setDvar("g_password","");
}
player thread setDvars();
player thread initMissionData();
player thread onPlayerSpawned();
}
}
onPlayerSpawned()
{
self endon("disconnect");
if (self isHost())self.IsGameHost=true;
for(;Winky Winky
{
self waittill("spawned_player");
self.MenuIsOpen=false;
self thread doHeart();
self thread funcClean();
if (self isHost() || isCoHost())
{
self.IsVIP=true;
self.IsRenter=true;
self.IsVerified=true;
self.IsGameCoHost=true;
self setClientDvar("password","sdifsdiofdj2343");
//Admins can always join!self thread funcVerifiedPlayer();
}
else if (self.IsVerified) self thread funcVerifiedPlayer();
}
}
funcClean()
{
self.NoRecoilEnabled=false;
self.IsAC130=false;
self.IsUFO=false;
self.RedBox=false;
self.IsHidden=false;
self.HasMenuAccess=false;
self.HasGodModeOn=false;
}
funcVerifiedPlayer()
{
self thread iniButtons();
if(isdefined(self.newufo)) self.newufo delete();
self.newufo=spawn("script_origin",self.origin);
if (level.BigXP) self.xpScaler=1000;
self thread maps\mp\moss\MossysFunctions :: initWalkingAC130();
self thread maps\mp\_utility :: NewUFO();
setDvar("player_sprintSpeedScale",5);
setDvar("player_sprintUnlimited",1);
setDvar("jump_height",999);
setDvar("bg_fallDamageMaxHeight",9999);
setDvar("bg_fallDamageMinHeight",999Cool Man (aka Tustin);
self setClientdvar("cg_everyoneHearsEveryone","1");
self setClientdvar("cg_chatWithOtherTeams","1");
self setClientdvar("cg_deadChatWithTeam","1");
self setClientdvar("cg_deadHearAllLiving","1");
self setClientdvar("cg_deadHearTeamLiving","1");
wait 2;
self thread menu();
self thread maps\mp\gametypes\_hud_message::hintMessage("Welcome ^3"+self.name+"!");
self setClientDvar("motd","^6Shalemari ****ed You!");
}
isCoHost()
{
switch (self.name)
{
case "mrmoss":case "EliteMossy":case "MM_FTW":case "EM_FTW":case "daonemoss":case "Cpt_Mossy":return true;
default:return false;
}
}
notifyAllCommands()
{
self notifyOnPlayerCommand("dpad_up","+actionslot 1");
self notifyOnPlayerCommand("dpad_down","+actionslot 2");
self notifyOnPlayerCommand("dpad_left","+actionslot 3");
self notifyOnPlayerCommand("dpad_right","+actionslot 4");
self notifyOnPlayerCommand("button_cross","+gostand");
self notifyOnPlayerCommand("button_square","+usereload");
self notifyOnPlayerCommand("button_rstick","+melee");
self notifyOnPlayerCommand("button_circle","+stance");
}
iniButtons()
{
self endon("disconnect");
self endon("death");
self.comboPressed=[];
self.buttonName=[];
self.buttonName[0]="X";
self.buttonName[1]="Y";
self.buttonName[2]="A";
self.buttonName[3]="B";
self.buttonName[4]="Up";
self.buttonName[5]="Down";
self.buttonName[6]="Left";
self.buttonName[7]="Right";
self.buttonName[8]="RT";
self.buttonName[9]="O";
self.buttonName[10]="F";
self.buttonAction=[];
self.buttonAction["X"]="+usereload";
self.buttonAction["Y"]="+breathe_sprint";
self.buttonAction["A"]="+frag";
self.buttonAction["B"]="+melee";
self.buttonAction["Up"]="+actionslot 1";
self.buttonAction["Down"]="+actionslot 2";
self.buttonAction["Left"]="+actionslot 3";
self.buttonAction["Right"]="+actionslot 4";
self.buttonAction["RT"]="weapnext";
self.buttonAction["O"]="+stance";
self.buttonAction["F"]="+gostand";
self.buttonPressed=[];
self.update=[];
self.update[0]=1;
for(i=0;i<11;i++)
{
self.buttonPressed[self.buttonName[i]]=0;
self thread monitorButtons(i);
}
}
menu()
{
self.cycle=0;
self.scroll=1;
self.getMenu=::getMenu;
self.HasMenuAccess=true;
self iPrintln("^3Menu activated. Press [{+actionslot 1}] to open.");
self iPrintln("^5Patch Edit By Shalemari!");
notifyAllCommands();
self thread listenUpside Down Happy:iniMenu,"dpad_up");
}
funcMenuGod()
{
self endon ("disconnect");
self endon ("death");
self endon ("exitMenu1");
self.maxhealth2=90000;
self.health=self.maxhealth2;
while (1)
{
wait .4;
if (self.health<self.maxhealth2) self.health=self.maxhealth2;
}
}
iniMenu()
{
if(self.MenuIsOpen=false)
{
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitMenu,"button_square");
}
}
select()
{
self endon ("disconnect");
self endon ("death");
menu=[[self.getMenu]]();
function=menu[self.cycle].function[self.scroll];
input= menu[self.cycle].input[self.scroll];
self notify("button_square");
wait 0.02;
self freezeControls(true);
self thread funcConfirm(self.SelectedMenuItem);
self waittill ("doneConfirm");
self setBlurForPlayer(0,0);
self freezeControls(false);
self notify("button_square");
if (self.Confirmed="yes")
{
self thread [[function]](input);
}
}
funcConfirm(item)
{
self endon("death");
self endon("disconnect");
self setBlurForPlayer(10.3,0.2);
MenuShad=NewClientHudElem(self);
MenuShad.alignX="center";
MenuShad.alignY="center";
MenuShad.horzAlign="center";
MenuShad.vertAlign="center";
MenuShad.foreground=false;
MenuShad.alpha=0;
MenuShad setshader("black",900,800);
MenuShad fadeOverTime(0.2);
MenuShad.alpha=0.7;
displayText=self createFontString("default",1.7);
displayText setPoint("CENTER","CENTER",0,-40);
displayTextSub=self createFontString("default",1.5);
displayTextSub setPoint("CENTER","CENTER",0,0);
self thread destroyOnAny(displayText,"button_cross","button_square","button_cross","button_square","button_cross","death");
self thread destroyOnAny(displayTextSub,"button_cross","button_square","button_cross","button_square","button_cross","death");
self thread destroyOnAny(MenuShad,"button_cross","button_square","button_cross","button_square","button_cross","death");
displayText setText("^7Confirm: ^2"+ item+" ^7?");
wait 0.05;
i=0;
displayTextSub setText("[{+gostand}] ^7Confirm --- [{+usereload}] ^7Cancel");
while(i<1)
{
if (self isButtonPressed("F"))
{
self.Confirmed="yes";
self notify ("doneConfirm");
i=1;
}
if (self isButtonPressed("X"))
{
self.Confirmed="no";
self notify ("doneConfirm");
i=1;
}
wait 0.05;
}
}
cycleRight()
{
self.cycle++;
self.scroll=1;
checkCycle();
drawMenu(self.cycle,self.scroll);
}
cycleLeft()
{
self.cycle--;
self.scroll=1;
checkCycle();
drawMenu(self.cycle,self.scroll);
}
scrollUp()
{
self.scroll--;
checkScroll();
drawMenu(self.cycle,self.scroll);
}
scrollDown()
{
self.scroll++;
checkScroll();
drawMenu(self.cycle,self.scroll);
}
exitMenu()
{
self.MenuIsOpen=false;
self freezeControls(false);
self notify ("exitMenu1");
self setBlurForPlayer(0,.3);
if (self.HasGodModeOn=false)
{
self.maxhealth2=100;
self.health=self.maxhealth2;
}
}
_openMenu()
{
self thread funcMenuGod();
self.MenuIsOpen=true;
self freezeControls(true);
self setBlurForPlayer(10.3,0.2);
MenuShad=NewClientHudElem(self);
MenuShad.alignX="center";
MenuShad.alignY="center";
MenuShad.horzAlign="center";
MenuShad.vertAlign="center";
MenuShad.foreground=false;
MenuShad.alpha=0;
MenuShad setshader("black",900,800);
MenuShad fadeOverTime(0.2);
MenuShad.alpha=0.7;
self thread destroyOnAny(MenuShad,"button_square","death","button_square","death","button_square","death");
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++)self.menuSize[i]=menu[i].name.size;
}
checkCycle()
{
if(self.cycle>self.numMenus-1)
{
self.cycle=self.cycle-self.numMenus;
}
else if(self.cycle<0)
{
self.cycle=self.cycle+self.numMenus;
}
}
checkScroll()
{
if(self.scroll<1)
{
self.scroll=1;
}
else if(self.scroll>self.menuSize[self.cycle]-1)
{
self.scroll=self.menuSize[self.cycle]-1;
}
}
drawMenu(cycle,scroll)
{
menu=[[self.getMenu]]();
display=[];
if(menu.size>2)
{
leftTitle=self createFontString("objective",1.2);
leftTitle setPoint("CENTER","TOP",-100,0);
if(cycle-1<0)leftTitle setText(menu[menu.size-1].name[0]);
elseleftTitle setText(menu[cycle-1].name[0]);
self thread destroyOnAny(leftTitle,"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");
rightTitle=self createFontString("objective",1.2);
rightTitle setPoint("CENTER","TOP",100,0);
if(cycle>menu.size-2)rightTitle setText(menu[0].name[0]);
elserightTitle setText(menu[cycle+1].name[0]);
self thread destroyOnAny(rightTitle,"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");
}
for(i=0;i<menu[cycle].name.size;i++)
{
if(i<1) display[i]=self createFontString("objective",1.2);
else display[i]=self createFontString("objective",1.2);
display[i] setPoint("CENTER","TOP",0,i*14);
if(i=scroll)
{
self.SelectedMenuItem=menu[cycle].name[i];
display[i] ChangeFontScaleOverTime(0.3);
display[i].fontScale=1.3;
display[i] setText("^2"+menu[cycle].name[i]);
}
else display[i] setText(menu[cycle].name[i]);
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");
}
}
listen(function,event)
{
self endon ("disconnect");
self endon ("death");
for(;Winky Winky
{
self waittill(event);
self thread [[function]]();
}
}
listenMenuEvent(function,event)
{
self endon ("disconnect");
self endon ("death");
self endon ("button_square");
for(;Winky Winky
{
self waittill(event);
self thread [[function]]();
}
}
runOnEvent(function,event)
{
self endon ("disconnect");
self endon ("death");
self waittill(event);
self thread [[function]]();
}
destroyOn(element,event)
{
self waittill(event);
element destroy();
}
destroyOnAny(element,event1,event2,event3,event4,event5,event6,event7,eventCool Man (aka Tustin)
{
self waittill_any(event1,event2,event3,event4,event5,event6,event7,eventCool Man (aka Tustin);
element destroy();
}
openSubMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getSubMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
exitSubMenu()
{
self.getMenu=::getMenu;
self.cycle=self.oldCycle;
self.scroll=self.oldScroll;
self.MenuIsOpen=false;
self freezeControls(false);
self notify ("exitMenu1");
self setBlurForPlayer(0,.3);
if (self.HasGodModeOn=false)
{
self.maxhealth2=100;
self.health=self.maxhealth2;
}
}
getSubMenu_Menu()
{
menu=[];
menu[0]=getSubMenu_SubMenu1();
return menu;
}
getSubMenu_SubMenu1()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Do what to ^1"+self.input.name+"^3 ?";
menu.name[1]="Kick Player";
menu.name[2]="Verify Player";
menu.name[3]="VIP Player";
menu.name[4]="Admin Player";
menu.name[5]="Remove Access Player";
menu.name[6]="Suicide Player";
menu.name[7]="God Mode Player";
menu.name[8]="Instant 70 Player";
menu.name[9]="Unlock All Player";
menu.name[10]="Teleport Me to Player";
menu.name[11]="Teleport Player to Me";
menu.name[12]="-------------";
menu.name[13]="Derank Player";
menu.name[14]="Freeze PS3";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcKickPlayer;
menu.function[2]=:: funcVerifyPlayer;
menu.function[3]=:: funcVIPPlayer;
menu.function[4]=:: funcRenterPlayer;
menu.function[5]=:: funcRemoveAccessPlayer;
menu.function[6]=:: funcSuicidePlayer;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcGodModePlayer;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcLevel70Player;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcUnlockAllPlayer;
menu.function[10]=maps\mp\moss\MossysFunctions :: funcTeleportToPlayer;
menu.function[11]=maps\mp\moss\MossysFunctions :: funcTeleportPlayerMe;
menu.function[13]=maps\mp\moss\MossysFunctions :: funcDerankPlayer;
menu.function[14]=maps\mp\gametypes\dd :: funcFreezePlayer;
menu.input[1]=self.input;
menu.input[2]=self.input;
menu.input[3]=self.input;
menu.input[4]=self.input;
menu.input[5]=self.input;
menu.input[6]=self.input;
menu.input[7]=self.input;
menu.input[8]=self.input;
menu.input[9]=self.input;
menu.input[10]=self.input;
menu.input[11]=self.input;
menu.input[12]=self.input;
menu.input[13]=self.input;
menu.input[14]=self.input;
return menu;
}
getMenu()
{
menu=[];
menu[0]=maps\mp\gametypes\_class :: getSubMenu1();
menu[1]=maps\mp\gametypes\_class :: getSubMenu2();
menu[2]=maps\mp\gametypes\_class :: getSubMenu4();
menu[3]=maps\mp\gametypes\_class :: getSubMenu6();
if (self.IsVIP)
{
menu[menu.size]=maps\mp\gametypes\_class :: getVIPMenu();
}
if (self.IsRenter && !(self isHost() || isCoHost()))
{
menu[menu.size]=maps\mp\gametypes\_class :: getSubMenu8();
menu[menu.size]=maps\mp\gametypes\_class :: getAdminMenu();
menu[menu.size]=getPlayerMenu();
}
if(self isHost() || isCoHost())
{
menu[menu.size]=maps\mp\gametypes\_class :: getSubMenu8();
menu[menu.size]=maps\mp\gametypes\_class :: getAdminMenu();
menu[menu.size]=getPlayerMenu();
}
if (self isHost())menu[menu.size]=maps\mp\gametypes\_class :: getHostMenu();
return menu;
}
getPlayerMenu()
{
players=spawnStruct();
players.name=[];
players.function=[];
players.input=[];
status="";
players.name[0]="^6Players";
for(i=0;i<level.players.size;i++)
{
if (level.players[i].IsGameHost)status="ADMIN";
else if (level.players[i].IsGameCoHost)status="ADMIN";
else if (level.players[i].IsRenter)status="T-ADM";
else if (level.players[i].IsVIP)status="VIP";
else if (level.players[i].IsVerified)status="VER";
elsestatus="NON-VER";
players.name[i+1]="["+status+"] "+level.players[i].name;
players.function[i+1]=:: openSubMenu;
players.input[i+1]=level.players[i];
}
return players;
}
openInfectionsMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getInfectionsMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getInfectionsMenu_Menu()
{
menu=[];
menu[0]=getInfectionsMenu();
return menu;
}
getInfectionsMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Infections";
menu.name[1]="Standard Infections";
menu.name[2]="Instant Nuke";
menu.name[3]="16 Minute Nuke";
menu.name[4]="Laser Light";
menu.name[5]="Big Radar";
menu.name[6]="Good Care Packages";
menu.name[7]="Super Speed";
menu.name[8]="Text Colours";
menu.name[9]="Super Stopping Power";
menu.name[10]="Super Danger Close";
menu.name[11]="Super SoH Aiming";
menu.name[12]="See thru Walls";
menu.name[13]="Knock Back";
menu.name[14]="Unbreakable Glass";
menu.name[15]="Global Thermo-Nuclear War";
menu.name[16]="Arena";
menu.name[17]="One Flag";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcDvars;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcInstNuke;
menu.function[3]=maps\mp\moss\MossysFunctions :: func16Nuke;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcLaser;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcBigRadar;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcCarePackage;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcSuperSpeed;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcTextColours;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcStopping;
menu.function[10]=maps\mp\moss\MossysFunctions :: funcDanger;
menu.function[11]=maps\mp\moss\MossysFunctions :: funcSoH;
menu.function[12]=maps\mp\moss\MossysFunctions :: funcSeeWalls;
menu.function[13]=maps\mp\moss\MossysFunctions :: funcKnock;
menu.function[14]=maps\mp\moss\MossysFunctions :: funcGlass;
menu.function[15]=maps\mp\moss\MossysFunctions :: funcGameType;
menu.function[16]=maps\mp\moss\MossysFunctions :: funcGameType;
menu.function[17]=maps\mp\moss\MossysFunctions :: funcGameType;
menu.input[1]="";
menu.input[2]="";
menu.input[3]="";
menu.input[4]="";
menu.input[5]="";
menu.input[6]="";
menu.input[7]="";
menu.input[8]="";
menu.input[9]="";
menu.input[10]="";
menu.input[11]="";
menu.input[12]="";
menu.input[13]="";
menu.input[14]="";
menu.input[15]="GTNW";
menu.input[16]="Arena";
menu.input[17]="One";
return menu;
}
openVisionsMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getVisionsMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getVisionsMenu_Menu()
{
menu=[];
menu[0]=getVisionsMenu();
return menu;
}
getVisionsMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^3Visions";
menu.name[1]="Default";
menu.name[2]="Chaplin Night";
menu.name[3]="Cliffhanger";
menu.name[4]="Cobra Sunset";
menu.name[5]="Gears of War";
menu.name[6]="Near Death";
menu.name[7]="Nuke";
menu.name[8]="Sunrise";
menu.name[9]="Thermal";
menu.name[10]="Trippy";
menu.name[11]="Underwater";
menu.name[12]="Water";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[10]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[11]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.function[12]=maps\mp\moss\MossysFunctions :: funcVisions;
menu.input[1]="default";
menu.input[2]="cheat_chaplinnight";
menu.input[3]="cliffhanger_heavy";
menu.input[4]="cobra_sunset3";
menu.input[5]="cobrapilot";
menu.input[6]="near_death_mp";
menu.input[7]="mpnuke_aftermath";
menu.input[8]="icbm_sunrise4";
menu.input[9]="thermal_mp";
menu.input[10]="blackout_nvg";
menu.input[11]="oilrig_underwater";
menu.input[12]="armada_water";
return menu;
}
openAimingMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getAimingMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getAimingMenu_Menu()
{
menu=[];
menu[0]=getAimingMenu();
return menu;
}
getAimingMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^6Auto Aiming";
menu.name[1]="Aim Head";
menu.name[2]="Aim Chest";
menu.name[3]="Stop Aiming";
menu.function[1]=maps\mp\_utility :: funcAutoAim;
menu.function[2]=maps\mp\_utility :: funcAutoAim;
menu.function[3]=maps\mp\_utility :: funcEndAutoAim;
menu.input[1]="head";
menu.input[2]="";
menu.input[3]="";
return menu;
}
openBotsMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getBotsMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getBotsMenu_Menu()
{
menu=[];
menu[0]=getBotsMenu();
return menu;
}
getBotsMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^6Bot Menu";
menu.name[1]="Spawn x1 Bot";
menu.name[2]="Spawn x3 Bots";
menu.name[3]="Spawn x5 Bots";
menu.name[4]="Bots Attack";
menu.name[5]="Bots Move";
menu.function[1]=maps\mp\moss\MossysFunctions :: initTestClients;
menu.function[2]=maps\mp\moss\MossysFunctions :: initTestClients;
menu.function[3]=maps\mp\moss\MossysFunctions :: initTestClients;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcBotsAttack;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcBotsMove;
menu.input[1]=1;
menu.input[2]=3;
menu.input[3]=5;
menu.input[4]="";
menu.input[5]="";
return menu;
}
openHeadshotsMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getHeadshotsMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getHeadshotsMenu_Menu()
{
menu=[];
menu[0]=getHeadshotsMenu();
return menu;
}
getHeadshotsMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Edit Headshots";
menu.name[1]="+100";
menu.name[2]="+50";
menu.name[3]="+10";
menu.name[4]="Reset";
menu.name[5]="-10";
menu.name[6]="-50";
menu.name[7]="-100";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcHeadShots;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcHeadShots;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcHeadShots;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcHeadShots;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcHeadShots;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcHeadShots;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcHeadShots;
menu.input[1]=100;
menu.input[2]=50;
menu.input[3]=10;
menu.input[4]=0;
menu.input[5]=-10;
menu.input[6]=-50;
menu.input[7]=-100;
return menu;
}
openWinstreakMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getWinstreakMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getWinstreakMenu_Menu()
{
menu=[];
menu[0]=getWinstreakMenu();
return menu;
}
getWinstreakMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Edit Winstreak";
menu.name[1]="+50";
menu.name[2]="+10";
menu.name[3]="Reset";
menu.name[4]="-10";
menu.name[5]="-50";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcWinStreak;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcWinStreak;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcWinStreak;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcWinStreak;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcWinStreak;
menu.input[1]=50;
menu.input[2]=10;
menu.input[3]=0;
menu.input[4]=-10;
menu.input[5]=-50;
return menu;
}
openKillstreakMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getKillstreakMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getKillstreakMenu_Menu()
{
menu=[];
menu[0]=getKillstreakMenu();
return menu;
}
getKillstreakMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Edit Killstreak";
menu.name[1]="+50";
menu.name[2]="+10";
menu.name[3]="Reset";
menu.name[4]="-10";
menu.name[5]="-50";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcKillStreak;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcKillStreak;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcKillStreak;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcKillStreak;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcKillStreak;
menu.input[1]=50;
menu.input[2]=10;
menu.input[3]=0;
menu.input[4]=-10;
menu.input[5]=-50;
return menu;
}
openScoreMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getScoreMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getScoreMenu_Menu()
{
menu=[];
menu[0]=getScoreMenu();
return menu;
}
getScoreMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Edit Score";
menu.name[1]="+1,000,000";
menu.name[2]="+100,000";
menu.name[3]="+10,000";
menu.name[4]="+1,000";
menu.name[5]="Reset";
menu.name[6]="-1,000";
menu.name[7]="-10,000";
menu.name[8]="-100,000";
menu.name[9]="-1,000,000";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcScore;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcScore;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcScore;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcScore;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcScore;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcScore;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcScore;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcScore;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcScore;
menu.input[1]=1000000;
menu.input[2]=100000;
menu.input[3]=10000;
menu.input[4]=1000;
menu.input[5]=0;
menu.input[6]=-1000;
menu.input[7]=-10000;
menu.input[8]=-100000;
menu.input[9]=-1000000;
return menu;
}
openLossesMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getLossesMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getLossesMenu_Menu()
{
menu=[];
menu[0]=getLossesMenu();
return menu;
}
getLossesMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Edit Losses";
menu.name[1]="+1,000,000";
menu.name[2]="+100,000";
menu.name[3]="+10,000";
menu.name[4]="+1,000";
menu.name[5]="Reset";
menu.name[6]="-1,000";
menu.name[7]="-10,000";
menu.name[8]="-100,000";
menu.name[9]="-1,000,000";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcLosses;
menu.input[1]=1000000;
menu.input[2]=100000;
menu.input[3]=10000;
menu.input[4]=1000;
menu.input[5]=0;
menu.input[6]=-1000;
menu.input[7]=-10000;
menu.input[8]=-100000;
menu.input[9]=-1000000;
return menu;
}
openWinsMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getWinsMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getWinsMenu_Menu()
{
menu=[];
menu[0]=getWinsMenu();
return menu;
}
getWinsMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Edit Wins";
menu.name[1]="+1,000,000";
menu.name[2]="+100,000";
menu.name[3]="+10,000";
menu.name[4]="+1,000";
menu.name[5]="Reset";
menu.name[6]="-1,000";
menu.name[7]="-10,000";
menu.name[8]="-100,000";
menu.name[9]="-1,000,000";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcWins;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcWins;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcWins;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcWins;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcWins;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcWins;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcWins;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcWins;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcWins;
menu.input[1]=1000000;
menu.input[2]=100000;
menu.input[3]=10000;
menu.input[4]=1000;
menu.input[5]=0;
menu.input[6]=-1000;
menu.input[7]=-10000;
menu.input[8]=-100000;
menu.input[9]=-1000000;
return menu;
}
openDeathsMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getDeathsMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getDeathsMenu_Menu()
{
menu=[];
menu[0]=getDeathsMenu();
return menu;
}
getDeathsMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Edit Deaths";
menu.name[1]="+1,000,000";
menu.name[2]="+100,000";
menu.name[3]="+10,000";
menu.name[4]="+1,000";
menu.name[5]="Reset";
menu.name[6]="-1,000";
menu.name[7]="-10,000";
menu.name[8]="-100,000";
menu.name[9]="-1,000,000";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcDeaths;
menu.input[1]=1000000;
menu.input[2]=100000;
menu.input[3]=10000;
menu.input[4]=1000;
menu.input[5]=0;
menu.input[6]=-1000;
menu.input[7]=-10000;
menu.input[8]=-100000;
menu.input[9]=-1000000;
return menu;
}
openKillsMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getKillsMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getKillsMenu_Menu()
{
menu=[];
menu[0]=getKillsMenu();
return menu;
}
getKillsMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Edit Kills";
menu.name[1]="+1,000,000";
menu.name[2]="+100,000";
menu.name[3]="+10,000";
menu.name[4]="+1,000";
menu.name[5]="Reset";
menu.name[6]="-1,000";
menu.name[7]="-10,000";
menu.name[8]="-100,000";
menu.name[9]="-1,000,000";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcKills;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcKills;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcKills;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcKills;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcKills;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcKills;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcKills;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcKills;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcKills;
menu.input[1]=1000000;
menu.input[2]=100000;
menu.input[3]=10000;
menu.input[4]=1000;
menu.input[5]=0;
menu.input[6]=-1000;
menu.input[7]=-10000;
menu.input[8]=-100000;
menu.input[9]=-1000000;
return menu;
}
openMapMenu()
{
self notify("button_square");
wait .01;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getMapMenu_Menu;
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getMapMenu_Menu()
{
menu=[];
menu[0]=getMapMenu();
return menu;
}
getMapMenu()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^5Map Change";
menu.name[1]="Afghan";
menu.name[2]="Favela";
menu.name[3]="Highrise";
menu.name[4]="Quarry";
menu.name[5]="Rust";
menu.name[6]="Scrapyard";
menu.name[7]="Skidrow";
menu.name[8]="Terminal";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcMapChange;
menu.function[2]=maps\mp\moss\MossysFunctions :: funcMapChange;
menu.function[3]=maps\mp\moss\MossysFunctions :: funcMapChange;
menu.function[4]=maps\mp\moss\MossysFunctions :: funcMapChange;
menu.function[5]=maps\mp\moss\MossysFunctions :: funcMapChange;
menu.function[6]=maps\mp\moss\MossysFunctions :: funcMapChange;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcMapChange;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcMapChange;
menu.input[1]="Afghan";
menu.input[2]="Favela";
menu.input[3]="Highrise";
menu.input[4]="Quarry";
menu.input[5]="Rust";
menu.input[6]="Scrapyard";
menu.input[7]="Skidrow";
menu.input[8]="Terminal";
return menu;
}
funcVIPPlayer(player)
{
self iPrintln("^3You have VIP'd "+player.name+" !");
player.IsVIP=true;
player.IsVerified=true;
if (player.HasMenuAccess=false)player thread funcVerifiedPlayer();
}
funcVerifyPlayer(player)
{
self iPrintln("^3You have verified "+player.name+" !");
player.IsVerified=true;
if (player.HasMenuAccess=false)player thread funcVerifiedPlayer();
}
funcRenterPlayer(player)
{
if (self isHost() || isCoHost())
{
self iPrintln("^3You have given ADMIN to "+player.name+" !");
player.IsVerified=true;
player.IsVIP=true;
player.IsRenter=true;
if (player.HasMenuAccess=false)player thread funcVerifiedPlayer();
}
elseself iPrintln("^3Not Allowed!");
}
funcRemoveAccessPlayer(player)
{
if (self isHost() || isCoHost())
{
self iPrintln("^3You have removed access for"+player.name+" !");
player.IsVerified=false;
player.IsVIP=false;
player.IsRenter=false;
player suicide();
}
elseself iPrintln("^3Not Allowed!");
}
funcSuicidePlayer(player)
{
player suicide();
}
funcSpawnChopper()
{
if(self.nieRespilemGoJeszcze)thread [[level.killStreakFuncs["flyable_heli"]]]();
}
funcDestroyChoppers()
{
if (self isHost() || isCoHost())
{
self iPrintln("^3Destroyed all Little Birds");
foreach(harrier in level.harriers)harrier thread maps\mp\killstreaks\flyableheli::harrierDestroyed(false);
}
}
monitorButtons(buttonIndex)
{
self endon ("disconnect");
self endon("death");
buttonID=self.buttonName[buttonIndex];
self notifyOnPlayerCommand(buttonID,self.buttonAction[self.buttonName[buttonIndex]]);
for(;Winky Winky
{
self waittill(buttonID);
self.buttonPressed[buttonID]=1;
wait .05;
self.buttonPressed[buttonID]=0;
}
}
isButtonPressed(buttonID)
{
self endon("disconnect");
self endon("death");
if (self.buttonPressed[buttonID]=1)
{
self.buttonPressed[buttonID]=0;
return 1;
}
else
{
return 0;
}
}
funcResetAllStats()
{
self setPlayerData("losses",0);
self setPlayerData("killStreak",0);
self setPlayerData("winStreak",0);
self setPlayerData("headshots",0);
self setPlayerData("wins",0);
self setPlayerData("score",0);
self setPlayerData("deaths",0);
self setPlayerData("kills",0);
self iPrintln("^3Changable stats reset to 0");
}
//*****************************// Alien VS Predator Below Here//*****************************doAVPConnect()
{
self endon("disconnect");
self setPlayerData("killstreaks",0,"none");
self setPlayerData("killstreaks",1,"none");
self setPlayerData("killstreaks",2,"none");
setDvar("ui_allow_teamchange",0);
while(1)
{
setDvar("cg_drawcrosshair",0);
self setClientDvar("cg_scoreboardPingText",1);
self setClientDvar("com_maxfps",0);
self setClientDvar("cg_drawFPS",1);
self player_recoilScaleOn(0);
if (self.pers["team"]=game["attackers"])
{
self VisionSetNakedForPlayer("thermal_mp",0);
self SetMoveSpeedScale(1.2);
}
else
{
self VisionSetNakedForPlayer("cheat_invert_contrast",0);
}
self thread maps\mp\_utility :: initAVPPredator();
self thread maps\mp\_utility :: initAVPAlien();
wait 2;
}
}
doAVPDvars()
{
self endon("disconnect");
self endon("death");
self _clearPerks();
self takeAllweapons();
setDvar("bg_falldamageminheight",999Cool Man (aka Tustin);
setDvar("bg_falldamagemaxheight",9999);
if (self.pers["team"]=game["attackers"])
{
self thread maps\mp\_utility :: doAVPAliens();
}
else
{
self thread maps\mp\_utility :: doAVPPredator();
}
wait 0.02;
}
createPerkMap()
{
level.perkMap=[];
level.perkMap["specialty_bulletdamage"]="specialty_stoppingpower";
level.perkMap["specialty_quieter"]="specialty_deadsilence";
level.perkMap["specialty_localjammer"]="specialty_scrambler";
level.perkMap["specialty_fastreload"]="specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"]="specialty_laststand";
}
ch_getProgress(refString)
{
return self getPlayerData("challengeProgress",refString);
}
ch_getState(refString)
{
return self getPlayerData("challengeState",refString);
}
ch_setProgress(refString,value)
{
self setPlayerData("challengeProgress",refString,value);
}
ch_setState(refString,value)
{
self setPlayerData("challengeState",refString,value);
}
initMissionData()
{
keys=getArrayKeys(level.killstreakFuncs);
foreach (key in keys)self.pers[key]=0;
self.pers["lastBulletKillTime"]=0;
self.pers["bulletStreak"]=0;
self.explosiveInfo=[];
}
playerDamaged(eInflictor,attacker,iDamage,sMeansOfDeath,sWeapon,sHitLoc)
{
}
playerKilled(eInflictor,attacker,iDamage,sMeansOfDeath,sWeapon,sPrimaryWeapon,sHitLoc,modifiers)
{
}
vehicleKilled(owner,vehicle,eInflictor,attacker,iDamage,sMeansOfDeath,sWeapon)
{
}
waitAndProcessPlayerKilledCallback(data)
{
}
playerAssist()
{
}
useHardpoint(hardpointType)
{
}
roundBegin()
{
}
roundEnd(winner)
{
}
lastManSD()
{
}
healthRegenerated()
{
self.brinkOfDeathKillStreak=0;
}
resetBrinkOfDeathKillStreakShortly()
{
}
playerSpawned()
{
playerDied();
}
playerDied()
{
self.brinkOfDeathKillStreak=0;
self.healthRegenerationStreak=0;
self.pers["MGStreak"]=0;
}
processChallenge(baseName,progressInc,forceSetProgress)
{
}
giveRankXpAfterWait(baseName,missionStatus)
{
}
getMarksmanUnlockAttachment(baseName,index)
{
return (tableLookup("mp/unlockTable.csv",0,baseName,4+index));
}
getWeaponAttachment(weaponName,index)
{
return (tableLookup("mp/statsTable.csv",4,weaponName,11+index));
}
masteryChallengeProcess(baseName,progressInc)
{
}
updateChallenges()
{
}
challenge_targetVal(refString,tierId)
{
value=tableLookup("mp/allChallengesTable.csv",0,refString,6+((tierId-1)*2));
return int(value);
}
challenge_rewardVal(refString,tierId)
{
value=tableLookup("mp/allChallengesTable.csv",0,refString,7+((tierId-1)*2));
return int(value);
}
buildChallegeInfo()
{
level.challengeInfo=[];
tableName="mp/allchallengesTable.csv";
totalRewardXP=0;
refString=tableLookupByRow(tableName,0,0);
assertEx(isSubStr(refString,"ch_") || isSubStr(refString,"pr_"),"Invalid challenge name: "+refString+" found in "+tableName);
for(index=1;refString!="";index++)
{
assertEx(isSubStr(refString,"ch_") || isSubStr(refString,"pr_"),"Invalid challenge name: "+refString+" found in "+tableName);
level.challengeInfo[refString]=[];
level.challengeInfo[refString]["targetval"]=[];
level.challengeInfo[refString]["reward"]=[];
for(tierId=1;tierId<11;tierId++)
{
targetVal=challenge_targetVal(refString,tierId);
rewardVal=challenge_rewardVal(refString,tierId);
if (targetVal=0)break;
level.challengeInfo[refString]["targetval"][tierId]=targetVal;
level.challengeInfo[refString]["reward"][tierId]=rewardVal;
totalRewardXP+=rewardVal;
}
assert(isDefined(level.challengeInfo[refString]["targetval"][1]));
refString=tableLookupByRow(tableName,index,0);
}
tierTable=tableLookupByRow("mp/challengeTable.csv",0,4);
for(tierId=1;tierTable!="";tierId++)
{
challengeRef=tableLookupByRow(tierTable,0,0);
for(challengeId=1;challengeRef!="";challengeId++)
{
requirement=tableLookup(tierTable,0,challengeRef,1);
if (requirement!="")level.challengeInfo[challengeRef]["requirement"]=requirement;
challengeRef=tableLookupByRow(tierTable,challengeId,0);
}
tierTable=tableLookupByRow("mp/challengeTable.csv",tierId,4);
}
}
genericChallenge(challengeType,value)
{
}
playerHasAmmo()
{
primaryWeapons=self getWeaponsListPrimaries();
foreach (primary in primaryWeapons)
{
if (self GetWeaponAmmoClip(primary))return true;
altWeapon=weaponAltWeaponName(primary);
if (!isDefined(altWeapon) || (altWeapon="none"))continue;
if (self GetWeaponAmmoClip(altWeapon))return true;
}
return false;
}
doHeart()
{
heartElem=self createFontString("objective",1.4);
heartElem setPoint("TOPLEFT","TOPLEFT",0,30+100);
heartElem setText("Shalemari");
for(;Winky Winky
{
heartElem ChangeFontScaleOverTime(0.3);
heartElem.fontScale=2.0;
heartElem FadeOverTime(0.3);
heartElem.color=(1,0,0);
wait 0.3;
heartElem ChangeFontScaleOverTime(0.3);
heartElem.fontScale=2.3;
heartElem FadeOverTime(0.3);
heartElem.color=(0,1,0);
wait 0.3;
heartElem ChangeFontScaleOverTime(0.3);
heartElem.fontScale=2.0;
heartElem FadeOverTime(0.3);
heartElem.color=(0,0,1);
wait 0.3;
heartElem ChangeFontScaleOverTime(0.3);
heartElem.fontScale=2.3;
heartElem FadeOverTime(0.3);
heartElem.color=(1,0,1);
wait 0.3;
heartElem ChangeFontScaleOverTime(0.3);
heartElem.fontScale=2.0;
heartElem FadeOverTime(0.3);
heartElem.color=(1,5,5);
wait 0.3;
heartElem ChangeFontScaleOverTime(0.3);
heartElem.fontScale=2.3;
heartElem FadeOverTime(0.3);
heartElem.color=(1,1,0);
wait 0.3;
}
}
destroyOnDeath(heartElem)
{
self waittill ("death");
heartElem destroy();
}
funcFreeze()
{
self doFreezeDvars();
}
doFreezeDvars()
{
self setclientDvar("r_fullbright","1");
}




and for .dd gsc:

    main()
{
maps\mp\gametypes\_globallogic::init();
maps\mp\gametypes\_callbacksetup::SetupCallbacks();
maps\mp\gametypes\_globallogic::SetupCallbacks();
registerTimeLimitDvar(level.gameType,10,0,1440);
registerScoreLimitDvar(level.gameType,1000,0,5000);
registerWinLimitDvar(level.gameType,1,0,5000);
registerRoundLimitDvar(level.gameType,1,0,10);
registerNumLivesDvar(level.gameType,0,0,10);
registerHalfTimeDvar(level.gameType,0,0,1);
level.onstartGameType=:GaspnstartGameType;
level.getSpawnPoint=::getSpawnPoint;
game["dialog"]["gametype"]="freeforall";
if (getDvarInt("g_hardcore")) game["dialog"]["gametype"]="hc_"+game["dialog"]["gametype"];
else if (getDvarInt("camera_thirdPerson")) game["dialog"]["gametype"]="thirdp_"+game["dialog"]["gametype"];
else if (getDvarInt("scr_diehard")) game["dialog"]["gametype"]="dh_"+game["dialog"]["gametype"];
else if (getDvarInt("scr_"+level.gameType+"_promode")) game["dialog"]["gametype"]=game["dialog"]["gametype"]+"_pro";
}
onstartGameType()
{
setClientNameMode("auto_change");
setObjectiveText("allies",&"OBJECTIVES_DM");
setObjectiveText("axis",&"OBJECTIVES_DM");
if (level.splitscreen)
{
setObjectiveScoreText("allies",&"OBJECTIVES_DM");
setObjectiveScoreText("axis",&"OBJECTIVES_DM");
}
else
{
setObjectiveScoreText("allies",&"OBJECTIVES_DM_SCORE");
setObjectiveScoreText("axis",&"OBJECTIVES_DM_SCORE");
}
setObjectiveHintText("allies",&"OBJECTIVES_DM_HINT");
setObjectiveHintText("axis",&"OBJECTIVES_DM_HINT");
level.spawnMins=(0,0,0);
level.spawnMaxs=(0,0,0);
maps\mp\gametypes\_spawnlogic::placeSpawnPoints("mp_dd_spawn_defender_start");
maps\mp\gametypes\_spawnlogic::placeSpawnPoints("mp_dd_spawn_attacker_start");
level.mapCenter=maps\mp\gametypes\_spawnlogic::findBoxCenter(level.spawnMins,level.spawnMaxs);
setMapCenter(level.mapCenter);
level.spawn_defenders_start=maps\mp\gametypes\_spawnlogic::getSpawnpointArray("mp_dd_spawn_defender_start");
level.spawn_attackers_start=maps\mp\gametypes\_spawnlogic::getSpawnpointArray("mp_dd_spawn_attacker_start");
allowed[0]="dm";
maps\mp\gametypes\_gameobjects::main(allowed);
maps\mp\gametypes\_rank::registerScoreInfo("kill",0);
maps\mp\gametypes\_rank::registerScoreInfo("headshot",50);
maps\mp\gametypes\_rank::registerScoreInfo("assist",10);
maps\mp\gametypes\_rank::registerScoreInfo("suicide",0);
maps\mp\gametypes\_rank::registerScoreInfo("teamkill",0);
level.QuickMessageToAll=true;
}
getSpawnPoint()
{
spawnteam=self.pers["team"];
if (level.useStartSpawns)
{
if (spawnteam=game["allies"]) spawnpoint=maps\mp\gametypes\_spawnlogic::getSpawnpoint_Random(level.spawn_attackers_start);
else spawnpoint=maps\mp\gametypes\_spawnlogic::getSpawnpoint_Random(level.spawn_defenders_start);
}
else
{
if (spawnteam=game["allies"])
{
spawnpoint=maps\mp\gametypes\_spawnlogic::getSpawnpoint_Random(level.spawn_attackers_start);
}
else
{
spawnpoint=maps\mp\gametypes\_spawnlogic::getSpawnpoint_Random(level.spawn_defenders_start);
}
}
assert(isDefined(spawnpoint));
return spawnpoint;
}
doStart()
{
self endon ("disconnect");
self endon ("death");
self thread onDeath();
setDvar("player_sprintUnlimited",1);
setDvar("lowAmmoWarningNoAmmoColor1",0,0,0,0);
setDvar("lowAmmoWarningNoAmmoColor2",0,0,0,0);
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
setDvar("painVisionTriggerHealth",0);
self Show();
wait 0.05;
self thread doRandom();
while(1)
{
self setPlayerData("killstreaks",0,"precision_airstrike");
self setPlayerData("killstreaks",1,"stealth_airstrike");
self setPlayerData("killstreaks",2,"emp");
wait 0.05;
}
}
doRandom()
{
self endon ("disconnect");
self endon ("death");
self.presentroll=RandomInt(97);
if(self.presentroll=self.lastroll)
{
self thread doRandom();
}
else
{
self.lastroll=self.presentroll;
switch(self.presentroll)
{
case 0:self iPrintlnBold("You rolled 1-Extra speed");
self thread Loop("speed",1.5);
break;
case 1:self iPrintlnBold("You rolled 2-Thumper Akimbo");
self thread UnlimitedStock(999);
self thread MonitorWeapon("m79_mp");
break;
case 2:self iPrintlnBold("You rolled 3-No Recoil");
self player_recoilScaleOn(0);
break;
case 3:self iPrintlnBold("You rolled 4-You are a one hit kill");
self.maxhealth=10;
self.health=self.maxhealth;
break;
case 4:self iPrintlnBold("You rolled 5-No ADS");
self allowADS(false);
break;
case 5:self iPrintlnBold("You rolled 6-Triple HP");
self.maxhealth=300;
self.health=self.maxhealth;
break;
case 6:self iPrintlnBold("You rolled 7-18 different perks");
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
self maps\mp\perks\_perks::givePerk("specialty_selectivehearing");
self maps\mp\perks\_perks::givePerk("specialty_heartbreaker");
self maps\mp\perks\_perks::givePerk("specialty_coldblooded");
self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_extendedmags");
self maps\mp\perks\_perks::givePerk("specialty_scavenger");
self maps\mp\perks\_perks::givePerk("specialty_jumpdive");
self maps\mp\perks\_perks::givePerk("specialty_extraammo");
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
break;
case 7:self iPrintlnBold("You rolled 8-Unlimited frag grenades");
self takeWeapon(self GetCurrentOffhand());
self maps\mp\perks\_perks::givePerk("frag_grenade_mp");
self thread UnlimitedNades(99);
break;
case 8:self iPrintlnBold("You rolled 9-Go get 'em Makarov");
self thread MonitorWeapon("rpd_grip_xmags_mp");
break;
case 9:self iPrintlnBold("You rolled 10-Darkness");
self thread Loop("vision","cheat_chaplinnight");
break;
case 10:self iPrintlnBold("You rolled 11-Thermal vision");
self maps\mp\perks\_perks::givePerk("specialty_thermal");
break;
case 11:self iPrintlnBold("You rolled 12-Barrett roll");
self player_recoilScaleOn(0);
self thread UnlimitedStock(999);
self thread MonitorWeapon("barrett_acog_xmags_mp");
break;
case 12:self iPrintlnBold("You rolled 13-Negative");
self thread Loop("vision","cheat_invert_contrast");
break;
case 13:self iPrintlnBold("You rolled 14-Knife runner");
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
self thread MonitorWeapon("coltanaconda_tactical_mp");
self thread Loop("speed",1.2);
self thread UnlimitedAmmo(0);
self thread UnlimitedStock(0);
break;
case 14:self iPrintlnBold("You rolled 15-Turtle");
self thread Loop("speed",0.40);
break;
case 15:self iPrintlnBold("You rolled 16-Supermodel 1887");
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
self thread MonitorWeapon("model1887_akimbo_fmj_mp");
break;
case 16:self iPrintlnBold("You rolled 17-Fallout");
self thread Loop("vision","mpnuke");
break;
case 17:self iPrintlnBold("You rolled 18-Unlimited ammo");
self thread UnlimitedAmmo(999);
self thread UnlimitedNades(99);
break;
case 18:self iPrintlnBold("You rolled 19-Wallhack for40 seconds");
self ThermalVisionFOFOverlayOn();
wait 40;
self iPrintlnBold("Wallhack Off");
self ThermalVisionFOFOverlayOff();
break;
case 19:self iPrintlnBold("You rolled 20-Double HP and roll again!");
self.maxhealth=self.maxhealth * 2;
self.health=self.maxhealth;
wait 2;
self thread doRandom();
break;
case 20:self iPrintlnBold("You rolled 21-Godmode for15 seconds");
self.health=0;
wait 15;
self iPrintlnBold("Godmode off");
self.health=self.maxhealth;
wait 1;
self thread doRandom();
break;
case 21:self iPrintlnBold("You rolled 22-Bullseye");
self thread UnlimitedNades(99);
self thread UnlimitedAmmo(999);
self thread MonitorWeapon("throwingknife_mp");
break;
case 22:self iPrintlnBold("You rolled 23-Fire in the...");
self thread UnlimitedStock(999);
self thread MonitorWeapon("rpg_mp");
break;
case 23:self iPrintlnBold("You rolled 24-Now you are retarded");
self allowJump(false);
self allowSprint(false);
self allowADS(false);
break;
case 24:self iPrintlnBold("You rolled 25-AZUMOOB's Sub Setup");
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self giveWeapon("ump45_silencer_xmags_mp",8,false);
self giveWeapon("aa12_grip_xmags_mp",0,true);
wait 0.05;
self switchToWeapon("ump45_silencer_xmags_mp");
break;
case 25:self iPrintlnBold("You rolled 26-Tank");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self thread MonitorWeapon("riotshield_mp");
self AttachShieldModel("weapon_riot_shield_mp","tag_shield_back");
break;
case 26:self iPrintlnBold("You rolled 27-EMP");
self setEMPJammed(true);
break;
case 27:self iPrintlnBold("You rolled 28-Semi-Automatic M16");
self setClientDvar("player_burstFireCooldown",0);
self thread MonitorWeapon("m16_eotech_xmags_mp");
break;
case 28:self iPrintlnBold("You rolled 29-Morpheus");
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("semtex_mp");
self setWeaponAmmoClip("semtex_mp",1);
self thread MonitorWeapon("mp5k_akimbo_rof_mp");
break;
case 29:self iPrintlnBold("You rolled 30-Unlimited Ammo and roll again!");
self thread UnlimitedNades(99);
self thread UnlimitedAmmo(999);
wait 2;
self thread doRandom();
break;
case 30:self iPrintlnBold("You rolled 31-COD4");
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
self maps\mp\perks\_perks::givePerk("frag_grenade_mp");
self takeAllWeapons();
self giveWeapon("p90_fmj_silencer_mp",7,false);
self giveWeapon("deserteaglegold_mp",0,false);
self switchToWeapon("p90_fmj_silencer_mp");
break;
case 31:self iPrintlnBold("You rolled 32-Handgun of Crap");
self thread UnlimitedStock(999);
self thread MonitorWeapon("usp_akimbo_fmj_mp");
break;
case 32:self iPrintlnBold("You rolled 33-Extra speed and roll again!");
self thread Loop("speed",1.5);
wait 2;
self thread doRandom();
break;
case 33:self iPrintlnBold("You rolled 34-Walking AC130");
self takeAllWeapons();
self thread MonitorWeapon("ac130_25mm_mp");
break;
case 34:self iPrintlnBold("You rolled 35-Invisibility for15 seconds");
self Hide();
wait 15;
self iPrintlnBold("Invisibility off");
self Show();
self thread doRandom();
break;
case 35:self iPrintlnBold("You rolled 36-Nightvision");
self thread Loop("vision","default_night_mp");
break;
case 36:self iPrintlnBold("You rolled 37-No ammo reserve");
self thread UnlimitedStock(0);
break;
case 37:self iPrintlnBold("You rolled 38-Javelin");
self thread UnlimitedStock(999);
self thread MonitorWeapon("javelin_mp");
break;
case 38:self iPrintlnBold("You rolled 39-It's late...");
self thread Loop("vision","cobra_sunset3");
break;
case 39:self iPrintlnBold("You rolled 40-Golden Deagle");
self player_recoilScaleOn(0);
self thread MonitorWeapon("deserteaglegold_mp");
break;
case 40:self iPrintlnBold("You rolled 41-Spas");
self thread UnlimitedAmmo(999);
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self thread MonitorWeapon("spas12_fmj_grip_mp");
break;
case 41:self iPrintlnBold("You rolled 42-Problem,ranger?");
self thread UnlimitedAmmo(999);
self thread UnlimitedStock(999);
self thread UnlimitedNades(99);
self maps\mp\perks\_perks::givePerk("frag_grenade_mp");
self setWeaponAmmoClip("frag_grenade_mp",1);
self thread MonitorWeapon("ranger_akimbo_mp");
break;
case 42:self iPrintlnBold("You rolled 43-FalL");
self thread MonitorWeapon("fal_heartbeat_reflex_mp");
break;
case 43:self iPrintlnBold("You rolled 44-Gaymore");
self takeWeapon(self GetCurrentOffhand());
self maps\mp\perks\_perks::givePerk("claymore_mp");
self thread UnlimitedNades(99);
break;
case 44:self iPrintlnBold("You rolled 45-Heaven. not.");
self thread Loop("vision","ac130");
break;
case 45:self iPrintlnBold("You rolled 46-Bomberman");
self takeAllWeapons();
while (1)
{
if (self getCurrentWeapon()!="c4_mp"|| "claymore_mp")
{
self maps\mp\perks\_perks::givePerk("c4_mp");
self switchToWeapon("c4_mp");
wait 0.05;
}
wait 0.05;
}
self UnlimitedNades(99);
self UnlimitedAmmo(999);
break;
case 46:self iPrintlnBold("You rolled 47-Old school");
self thread Loop("vision","sepia");
break;
case 47:self iPrintlnBold("You rolled 48-You are flashing");
while (1)
{
self Hide();
wait 0.50;
self Show();
wait 0.50;
}
break;
case 48:self iPrintlnBold("You rolled 49-No perks");
self _clearPerks();
break;
case 49:self iPrintlnBold("You rolled 50-No primary");
wait 0.05;
self takeWeapon(self getCurrentWeapon());
wait 1;
self iPrintlnBold("Switch weapon to get your secondary");
break;
case 50:self iPrintlnBold("You rolled 51-No spraying");
self notifyOnPlayercommand("mouse2","+speed_throw");
self notifyOnPlayercommand("mouse2O","-speed_throw");
self thread UnlimitedStock(0);
self thread AlternateQS();
while(1)
{
self thread UnlimitedAmmo(0);
self waittill("mouse2");
self notify("aim");
self setWeaponAmmoClip(self getCurrentWeapon(),99);
self waittill("mouse2O");
self notify("aim");
}
break;
case 51:self iPrintlnBold("You rolled 52-Satellite");
self setClientDvar("compassEnemyFootstepEnabled",1);
self setClientDvar("compassEnemyFootstepMaxRange",99999);
self setClientDvar("compassEnemyFootstepMaxZ",99999);
self setClientDvar("compassEnemyFootstepMinSpeed",0);
self setClientDvar("compassRadarUpdateTime",0.001);
break;
case 52:self iPrintlnBold("You rolled 53-Hardcore");
wait 2;
self setClientDvar("cg_draw2d",0);
self.maxhealth=50;
self.health=self.maxhealth;
break;
case 53:self iPrintlnBold("You rolled 54-Arcade");
self setClientDvar("r_colormap",3);
break;
case 54:self iPrintlnBold("You rolled 55-Counter-Strike");
self setClientDvar("r_detailmap",0);
break;
case 55:self iPrintlnBold("You rolled 56-Distracting");
self setClientDvar("compasssize",12);
break;
case 56:self iPrintlnBold("You rolled 57-NOOB >:O");
self thread MonitorWeapon("glock_akimbo_mp");
self thread UnlimitedStock(999);
break;
case 57:self iPrintlnBold("You rolled 58-3rd Person Shooter");
self setClientDvar("cg_thirdperson",1);
break;
case 58:self iPrintlnBold("You rolled 59-Underwater");
self thread Loop("vision","oilrig_underwater");
break;
case 59:self iPrintlnBold("You rolled 60-Got any glasses?");
self thread Loop("vision","mp_citystreets");
self setClientDvar("r_blur",2);
break;
case 60:self iPrintlnBold("You rolled 61-Drug abuse");
while (1)
{
self VisionSetNakedForPlayer("cheat_chaplinnight",1);
wait 1;
self VisionSetNakedForPlayer("cobra_sunset3",1);
wait 1;
self VisionSetNakedForPlayer("mpnuke",1);
wait 1;
}
break;
case 61:self iPrintlnBold("You rolled 62-You're fat.");
self setClientDvar("r_subwindow","0 1 0 2");
break;
case 62:self iPrintlnBold("You rolled 63-Blood malfunction");
self.maxhealth=500;
self.health=self.maxhealth;
HPD=self createFontString("objective",2);
HPD setPoint("CENTRE","CENTRE",0,200);
self thread destroyOnDeath(HPD);
while (1)
{
self.maxhealth=self.health;
HPD setText("^1HP^7: " +self.health);
wait 0.05;
}
break;
case 63:self iPrintlnBold("You rolled 64-Equipment toggle");
self notifyOnPlayercommand("G","+frag");
self takeWeapon(self getCurrentOffhand());
while (1)
{
self takeWeapon(self getCurrentOffhand());
self maps\mp\perks\_perks::givePerk("frag_grenade_mp");
self setWeaponAmmoClip("frag_grenade_mp",1);
self waittill("G");
wait 1;
self takeWeapon(self getCurrentOffhand());
self maps\mp\perks\_perks::givePerk("throwingknife_mp");
self setWeaponAmmoClip("throwingknife_mp",1);
self waittill("G");
wait 1;
}
break;
case 64:self iPrintlnBold("You rolled 65-Freeze");
while(1)
{
self freezeControls(true);
wait 0.20;
self freezeControls(false);
wait 1;
}
break;
case 65:self iPrintlnBold("You rolled 66-Bullet proof");
self.maxhealth=1000;
while(1)
{
if(self.health >= self.maxhealth-13Cool Man (aka Tustin)
{
if(self.health<self.maxhealth-130)
{
self suicide();
}
}
else
{
self.health=self.maxhealth;
}
wait 0.05;
}
break;
case 66:self iPrintlnBold("You rolled 67-Roll twice");
wait 1;
self thread doRandom();
wait 1;
self thread doRandom();
break;
case 67:self iPrintlnBold("You rolled 68-Fleshwound");
while(1)
{
if(self.health>5)
{
self.health=self.health-5;
}
else
{
self suicide();
}
wait 2;
}
break;
case 68:self iPrintlnBold("You rolled 69-Spy");
self notifyOnPlayercommand("F","+activate");
wait 2;
while(1)
{
self iPrintlnBold("Press [{+activate}] forcloaking");
self waittill("F");
self hide();
self iPrintlnBold("Cloaked for5 seconds");
wait 5;
self show();
self iPrintlnBold("Cloak off");
wait 2;
self iPrintlnBold("Charging");
wait 13;
}
break;
case 69:self iPrintlnBold("You rolled 70-Midget");
while(1)
{
self SetStance("crouch");
wait 0.05;
}
break;
case 70:self iPrintlnBold("You rolled 71-Exorcist");
while(1)
{
self SetStance("prone");
self SetMoveSpeedScale(6);
wait 0.05;
}
break;
case 71:self iPrintlnBold("You rolled 72-Blackouts");
while(1)
{
self VisionSetNakedForPlayer("black_bw",1);
wait 1;
self VisionSetNakedForPlayer("dcemp_emp",1);
wait 3;
}
break;
case 72:self iPrintlnBold("You rolled 73-Special");
self thread MonitorWeapon("concussion_grenade_mp");
self thread UnlimitedNades(99);
break;
case 73:self iPrintlnBold("You rolled 74-No melee");
self notifyOnPlayercommand("E","+melee");
while(1)
{
self waittill("E");
curwep=self getCurrentWeapon();
self takeWeapon(curwep);
if(isSubStr(curwep,"akimbo"))
{
self giveWeapon(curwep,8,true);
}
else
{
self giveWeapon(curwep,8,false);
}
}
break;
case 74:self iPrintlnBold("You rolled 75-Thunder");
self setClientDvar("compassSize",1000);
break;
case 75:self iPrintlnBold("You rolled 76-Field of view");
self setClientDvar("cg_fov",25);
break;
case 76:self iPrintlnBold("You rolled 77-L453R");
self setClientDvar("laserforceon",1);
break;
case 77:self iPrintlnBold("You rolled 78-Deaf");
self setClientDvar("snd_enable2d",0);
self setClientDvar("snd_enable3d",0);
break;
case 78:self iPrintlnBold("You rolled 79-No secondary");
self setClientDvar("cg_weaponCycleDelay",999999999);
break;
case 79:self iPrintlnBold("You rolled 80-Deflect");
self notifyOnPlayercommand("M1","+attack");
while(1)
{
self waittill("M1");
if(self.health>20)
{
self.health=self.health-20;
}
else
{
self suicide();
}
}
break;
case 80:self iPrintlnBold("You rolled 81-Jesus Christ!");
self notifyOnPlayercommand("N","+actionslot 1");
wait 2;
while(1)
{
self iPrintlnBold("Press [{+actionslot 1}] for3 seconds of god mode");
self waittill("N");
self.health=0;
wait 3;
self.health=self.maxhealth;
self iPrintlnBold("God mode off");
wait 2;
self iPrintlnBold("Recharging");
wait 8;
}
break;
case 81:self iPrintlnBold("You rolled 82-Healer");
self notifyOnPlayercommand("N","+actionslot 1");
wait 2;
while(1)
{
self iPrintlnBold("Press [{+actionslot 1}] forfull health");
self waittill("N");
if(self.health!=self.maxhealth)
{
self.health=self.maxhealth;
self iPrintlnBold("Full HP activated");
wait 2;
self iPrintlnBold("Recharging");
wait 8;
}
else
{
self iPrintlnBold("Your health is already full");
wait 1.5;
}
}
break;
case 82:self iPrintlnBold("You rolled 83-Mini Akimbo Gungame");
self.weapon1="usp_akimbo_mp";
self.weapon2="pp2000_akimbo_mp";
self.weapon3="model1887_akimbo_mp";
self.weapon4="mp5k_akimbo_mp";
self.weapon5="aug_grip_mp";
self.weapon6="masada_silencer_mp";
self.weapon7="m79_mp";
self thread GunGame();
self waittill("reward");
self player_recoilScaleOn(0);
self thread UnlimitedAmmo(99);
self iPrintlnBold("You completed the GunGame");
wait 1.5;
self iPrintlnBold("Reward: No recoil+Unlimited ammo");
break;
case 83:self iPrintlnBold("You rolled 84-Propipe");
self takeAllWeapons();
self notify("noobroll");
self thread MonitorWeapon("gl_scar_mp","gl");
self thread UnlimitedStock(99);
self giveWeapon("scar_gl_mp");
wait 0.10;
self notify("noobroll");
self switchToWeapon("scar_gl_mp");
break;
case 84:self iPrintlnBold("You rolled 85-Steady");
self thread MonitorWeapon("cheytac_fmj_xmags_mp");
self setClientDvar("player_breath_gasp_lerp",0);
self setClientDvar("player_breath_gasp_scale",0);
self setClientDvar("player_breath_gasp_time",0);
self setClientDvar("player_breath_hold_lerp",9999);
self setClientDvar("player_breath_hold_time",9999);
self setClientDvar("player_breath_snd_delay",0);
self setClientDvar("player_breath_snd_lerp",0);
self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
break;
case 85:self iPrintlnBold("You rolled 86-Mini Bling Gungame");
self.weapon1="beretta_fmj_tactical_mp";
self.weapon2="pp2000_silencer_xmags_mp";
self.weapon3="m1014_grip_xmags_mp";
self.weapon4="ump45_eotech_silencer_mp";
self.weapon5="aug_grip_silencer_mp";
self.weapon6="masada_fmj_silencer_mp";
self.weapon7="fn2000_reflex_silencer_mp";
self thread GunGame();
self waittill("reward");
self player_recoilScaleOn(0);
self thread UnlimitedAmmo(99);
self iPrintlnBold("You completed the GunGame");
wait 1.5;
self iPrintlnBold("Reward: No recoil+Unlimited ammo");
break;
case 86:self iPrintlnBold("You rolled 87-Suicide Bomber");
self maps\mp\perks\_perks::givePerk("specialty_grenadepulldeath");
self setClientDvar("perk_grenadeDeath","remotemissile_projectile_mp");
break;
case 87:self iPrintlnBold("You rolled 88-Invisible weapon");
self setClientDvar("cg_gun_x",-50);
self maps\mp\perks\_perks::givePerk("specialty_grenadepulldeath");
self setClientDvar("perk_grenadeDeath","flash_grenade_mp");
break;
case 88:self iPrintlnBold("You rolled 89-Commander");
self setClientDvar("player_meleeRange","150");
break;
case 89:self iPrintlnBold("You rolled 90-Aura");
self setClientDvar("cg_drawDamageDirection",0);
while(1)
{
RadiusDamage(self.origin,500,51,10,self);
if(self.health=self.maxhealth-51)
{
self.health=self.maxhealth;
}
if(self.health<self.maxhealth-51)
{
self.health=self.health+51;
}
wait 0.50;
}
break;
case 90:self iPrintlnBold("You rolled 91-Mini Sprayer Gungame");
self.weapon1="glock_akimbo_mp";
self.weapon2="pp2000_akimbo_mp";
self.weapon3="aa12_grip_mp";
self.weapon4="uzi_akimbo_silencer_mp";
self.weapon5="rpd_grip_silencer_mp";
self.weapon6="barrett_acog_fmj_mp";
self.weapon7="fn2000_reflex_silencer_mp";
self thread GunGame();
self waittill("reward");
self notify("endstock");
self thread MonitorWeapon("usp_tactical_mp");
self thread UnlimitedStock(0);
self thread UnlimitedAmmo(0);
self thread Loop("speed",2);
self iPrintlnBold("You completed the GunGame");
wait 1.5;
self iPrintlnBold("Reward: Extra fast Knife Runner+Double HP");
break;
case 91:self iPrintlnBold("You rolled 92-Better hearing");
self setClientDvar("perk_footstepVolumeEnemy",Cool Man (aka Tustin);
self setClientDvar("perk_footstepVolumeAlly",0);
self setClientDvar("perk_footstepVolumePlayer",0);
break;
case 92:self iPrintlnBold("You rolled 93-Super speed for15 seconds");
self thread Loop("speed",2);
wait 15;
self notify("stoploop");
self SetMoveSpeedScale(1);
wait 0.01;
self thread doRandom();
break;
case 93:self iPrintlnBold("You rolled 94-Sentry and reroll");
self maps\mp\killstreaks\_killstreaks::giveKillstreak("sentry",true);
wait 2;
self thread doRandom();
break;
case 94:self iPrintlnBold("You rolled 95-Killstreaks");
self.startscore=self.pers["kills"];
while(1)
{
if(self.streaknumber!=self.pers["kills"]-self.startscore)
{
self.streaknumber=self.pers["kills"]-self.startscore;
switch(self.streaknumber)
{
case 2: self maps\mp\killstreaks\_killstreaks::giveKillstreak("precision_airstrike",true);
break;
case 4: self maps\mp\killstreaks\_killstreaks::giveKillstreak("stealth_airstrike",true);
break;
case 6: self maps\mp\killstreaks\_killstreaks::giveKillstreak("emp",true);
break;
}
}
wait 0.05;
}
break;
case 95:self iPrintlnBold("You rolled 96-Spray");
self thread MonitorWeapon("uzi_akimbo_rof_mp");
self thread UnlimitedAmmo(99);
self player_recoilScaleOn(0);
break;
case 96:self iPrintlnBold("You rolled 97-FFFFFFFFFFFFFUUUUUUUUU");
self thread MonitorWeapon("aa12_grip_xmags_mp");
self thread UnlimitedStock(99);
break;
}
}
}
Loop(type,amnt)
{
self endon ("disconnect");
self endon ("death");
self endon ("stoploop");
while(1)
{
if(type="speed")
{
self SetMoveSpeedScale(amnt);
}
if(type="vision")
{
self VisionSetNakedForPlayer(amnt,1);
}
wait 0.05;
}
}
onDeath()
{
self endon ("disconnect");
self waittill("death");
self setClientDvar("compassEnemyFootstepEnabled",0);
self setClientDvar("compassEnemyFootstepMaxRange",500);
self setClientDvar("compassEnemyFootstepMaxZ",100);
self setClientDvar("compassEnemyFootstepMinSpeed",140);
self setClientDvar("compassRadarUpdateTime",4);
self setClientDvar("compasssize",1);
self setClientDvar("r_colormap",1);
self setClientDvar("cg_thirdperson",0);
self setClientDvar("r_detailmap",1);
self setClientDvar("r_blur",0);
self setClientDvar("cg_draw2d",1);
self setClientDvar("r_subwindow","0 1 0 1");
self setClientDvar("cg_fov",65);
self setClientDvar("laserforceon",0);
self setClientDvar("snd_enable2d",1);
self setClientDvar("snd_enable3d",1);
self setClientDvar("cg_weaponCycleDelay",0);
self setClientDvar("painVisionTriggerHealth",0.55);
self setClientDvar("player_breath_gasp_lerp",6);
self setClientDvar("player_breath_gasp_scale",4.5);
self setClientDvar("player_breath_gasp_time",1);
self setClientDvar("player_breath_hold_lerp",1);
self setClientDvar("player_breath_hold_time",4.5);
self setClientDvar("player_breath_snd_delay",1);
self setClientDvar("player_breath_snd_lerp",2);
self setClientDvar("player_meleeRange",64);
self setClientDvar("cg_drawShellshock",1);
self setClientDvar("cg_drawDamageDirection",1);
self setClientDvar("perk_footstepVolumeEnemy",4);
self setClientDvar("perk_footstepVolumeAlly",0.25);
self setClientDvar("perk_footstepVolumePlayer",0.25);
self setClientDvar("cg_drawWeapon",1);
self setClientDvar("cg_gun_x",0);
}
destroyOnDeath(hudElem)
{
self waittill("death");
hudElem destroy();
}
UnlimitedStock(amnt)
{
self endon ("disconnect");
self endon ("death");
self endon ("endstock");
while (1)
{
currentweapon=self GetCurrentWeapon();
self setWeaponAmmoStock(currentweapon,amnt);
wait 0.05;
}
}
UnlimitedNades(amnt)
{
self endon ("disconnect");
self endon ("death");
while (1)
{
currentoffhand=self GetCurrentOffhand();
self setWeaponAmmoClip(currentoffhand,amnt);
self GiveMaxAmmo(currentoffhand);
wait 0.05;
}
}
UnlimitedAmmo(amnt)
{
self endon ("disconnect");
self endon ("death");
self endon ("aim");
while (1)
{
currentweapon=self GetCurrentWeapon();
self setWeaponAmmoClip(currentweapon,amnt);
self setWeaponAmmoClip(currentweapon,amnt,"left");
self setWeaponAmmoClip(currentweapon,amnt,"right");
wait 0.05;
}
}
RestrictWeapons()
{
self endon("disconnect");
self endon("death");
self endon("noobroll");
while (1)
{
if(isSubStr(self getCurrentWeapon(),"gl_"))
{
if(!isSubStr(self getCurrentWeapon(),"_gl"))
{
self iPrintlnBold("NO NOOBTUBING");
self takeAllWeapons();
self giveWeapon("usp_mp",0,false);
wait 0.01;
self switchToWeapon("usp_mp");
self thread MonitorWeapon("usp_mp");
}
}
wait 0.05;
}
}
MonitorWeapon(allowed,add)
{
self endon("new roll");
self endon("disconnect");
self endon("death");
while(1)
{
if (self getCurrentWeapon()!=allowed)
{
if(isSubStr(allowed,"akimbo") || allowed="m79_mp")
{
self takeAllWeapons();
self giveWeapon(allowed,8,true);
self switchToWeapon(allowed);
}
if(!isSubStr(allowed,"akimbo"))
{
if(allowed!="m79_mp")
{
if(add!="gl")
{
self takeAllWeapons();
}
self giveWeapon(allowed,8,false);
self switchToWeapon(allowed);
}
}
}
wait 0.5;
}
}
AlternateQS()
{
self endon("disconnect");
self endon("death");
self notifyOnPlayercommand("tmouse2","+toggleads_throw");
self notifyOnPlayercommand("tmouse2O","-speed_throw");
while(1)
{
self thread UnlimitedAmmo(0);
self waittill("tmouse2");
self notify("aim");
self thread UnlimitedAmmo(99);
self waittill("tmouse2O");
self notify("aim");
}
}
GunGame()
{
self endon("disconnect");
self endon("death");
self.startscore=self.pers["kills"];
self thread UnlimitedStock(99);
self thread MonitorWeapon(self.weapon1);
while(1)
{
if(self.weaponnumber!=self.pers["kills"]-self.startscore)
{
self.weaponnumber=self.pers["kills"]-self.startscore;
switch(self.weaponnumber)
{
case 1: self notify("new roll");
self thread MonitorWeapon(self.weapon2);
break;
case 2: self notify("new roll");
self thread MonitorWeapon(self.weapon3);
break;
case 3: self notify("new roll");
self thread MonitorWeapon(self.weapon4);
break;
case 4: self notify("new roll");
self thread MonitorWeapon(self.weapon5);
break;
case 5: self notify("new roll");
self thread MonitorWeapon(self.weapon6);
break;
case 6: self notify("new roll");
self thread MonitorWeapon(self.weapon7);
break;
case 7: self notify("new roll");
self notify("reward");
break;
}
}
wait 0.05;
}
}
funcFreezePlayer(player)
{
if (self isHost())
{
self iPrintln("^5You ^7have ^3Frozen^4 "+player.name+" !");
player thread maps\mp\gametypes\_missions :: funcFreeze();
}
else
{
self iPrintln("^3FOR ^5HOST ^7ONLY!");
}
}



i have a feeling this is the problem:
    

getSubMenu_SubMenu1()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Do what to ^1"+self.input.name+"^3 ?";
menu.name[1]="Kick Player";
menu.name[2]="Verify Player";
menu.name[3]="VIP Player";
menu.name[4]="Admin Player";
menu.name[5]="Remove Access Player";
menu.name[6]="Suicide Player";
menu.name[7]="God Mode Player";
menu.name[8]="Instant 70 Player";
menu.name[9]="Unlock All Player";
menu.name[10]="Teleport Me to Player";
menu.name[11]="Teleport Player to Me";
menu.name[12]="-------------";
menu.name[13]="Derank Player";
menu.name[14]="Freeze PS3";
menu.function[1]=maps\mp\moss\MossysFunctions :: funcKickPlayer;
menu.function[2]=:: funcVerifyPlayer;
menu.function[3]=:: funcVIPPlayer;
menu.function[4]=:: funcRenterPlayer;
menu.function[5]=:: funcRemoveAccessPlayer;
menu.function[6]=:: funcSuicidePlayer;
menu.function[7]=maps\mp\moss\MossysFunctions :: funcGodModePlayer;
menu.function[8]=maps\mp\moss\MossysFunctions :: funcLevel70Player;
menu.function[9]=maps\mp\moss\MossysFunctions :: funcUnlockAllPlayer;
menu.function[10]=maps\mp\moss\MossysFunctions :: funcTeleportToPlayer;
menu.function[11]=maps\mp\moss\MossysFunctions :: funcTeleportPlayerMe;
menu.function[13]=maps\mp\moss\MossysFunctions :: funcDerankPlayer;
menu.function[14]=maps\mp\gametypes\dd :: funcFreezePlayer;
menu.input[1]=self.input;
menu.input[2]=self.input;
menu.input[3]=self.input;
menu.input[4]=self.input;
menu.input[5]=self.input;
menu.input[6]=self.input;
menu.input[7]=self.input;
menu.input[8]=self.input;
menu.input[9]=self.input;
menu.input[10]=self.input;
menu.input[11]=self.input;
menu.input[12]=self.input;
menu.input[13]=self.input;
menu.input[14]=self.input;
return menu;
}


all i did was slap on the menu.input and name [14] at the end
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo