Post: Need Menu Code (Rep+)
10-17-2010, 02:10 PM #1
Lofti
You are welcome!
(adsbygoogle = window.adsbygoogle || []).push({});
Hello,I Am making a patch but the only thing thats missing is the menu!

Could anyone post the Menu Code?

Please don't tell me decompress and all that!

Ok apriciate it people Smile


PEACE ! Smile

Plus if it works i will put you in credit list Smile
(adsbygoogle = window.adsbygoogle || []).push({});
10-17-2010, 02:48 PM #2
Originally posted by KiNGxMoDz View Post
Hello,I Am making a patch but the only thing thats missing is the menu!

Could anyone post the Menu Code?

Please don't tell me decompress and all that!

Ok apriciate it people Smile


PEACE ! Smile

Plus if it works i will put you in credit list Smile


Well it isn't one single code...its a lot of functions and setting up the buttons and stuff so posting it will take a while. I'm going to give you Havoc Undead's menu because its the easiest to learn from in my opinion.

    iniMenuVars(){
level.menuX = 100;
level.menuY = 20;
level.subMenuNumOptions = [];

//Sub Menu 1
level.topLevelMenuNames[0] = "^1Unlocks";
level.subMenuNumOptions[0] = 5;
level.subMenuNames[0] = [];
level.subMenuNames[0][0] = "Rank 70";
level.subMenuNames[0][1] = "Custom Class Names";
level.subMenuNames[0][2] = "Secondary Guns With Camo";
level.subMenuNames[0][3] = "Unlock Challenges";
level.subMenuNames[0][4] = "+10,000 of Every Accolade";

level.subMenuFunctions[0] = [];
level.subMenuFunctions[0][0] = maps\mp\_events :: doLevel70;
level.subMenuFunctions[0][1] = maps\mp\_events :: doClassNames;
level.subMenuFunctions[0][2] = maps\mp\_events :: doClasses;
level.subMenuFunctions[0][3] = maps\mp\_events :: doChallenges;
level.subMenuFunctions[0][4] = maps\mp\_utility :: doAccolades;

level.subMenuInputs[0] = [];
level.subMenuInputs[0][0] = "";
level.subMenuInputs[0][1] = "";
level.subMenuInputs[0][2] = "";
level.subMenuInputs[0][3] = "";
level.subMenuInputs[0][4] = "";


That is one page of the menu...but it has functions linked to other GSCs and it has other threads in the missions that give the buttons commands.

Honestly, the only way you are going to learn is by opinion up a missions.gsc and looking.

The following 2 users say thank you to Drackos for this useful post:

IDontbreak, Lofti
10-17-2010, 03:10 PM #3
Lofti
You are welcome!
Originally posted by drackos View Post
Well it isn't one single code...its a lot of functions and setting up the buttons and stuff so posting it will take a while. I'm going to give you Havoc Undead's menu because its the easiest to learn from in my opinion.

    iniMenuVars(){
level.menuX = 100;
level.menuY = 20;
level.subMenuNumOptions = [];

//Sub Menu 1
level.topLevelMenuNames[0] = "^1Unlocks";
level.subMenuNumOptions[0] = 5;
level.subMenuNames[0] = [];
level.subMenuNames[0][0] = "Rank 70";
level.subMenuNames[0][1] = "Custom Class Names";
level.subMenuNames[0][2] = "Secondary Guns With Camo";
level.subMenuNames[0][3] = "Unlock Challenges";
level.subMenuNames[0][4] = "+10,000 of Every Accolade";

level.subMenuFunctions[0] = [];
level.subMenuFunctions[0][0] = maps\mp\_events :: doLevel70;
level.subMenuFunctions[0][1] = maps\mp\_events :: doClassNames;
level.subMenuFunctions[0][2] = maps\mp\_events :: doClasses;
level.subMenuFunctions[0][3] = maps\mp\_events :: doChallenges;
level.subMenuFunctions[0][4] = maps\mp\_utility :: doAccolades;

level.subMenuInputs[0] = [];
level.subMenuInputs[0][0] = "";
level.subMenuInputs[0][1] = "";
level.subMenuInputs[0][2] = "";
level.subMenuInputs[0][3] = "";
level.subMenuInputs[0][4] = "";


That is one page of the menu...but it has functions linked to other GSCs and it has other threads in the missions that give the buttons commands.

Honestly, the only way you are going to learn is by opinion up a missions.gsc and looking.


well will this work on _rank.gsc? Thanks Smile you allways answer my questions Happy

---------- Post added at 06:10 PM ---------- Previous post was at 06:07 PM ----------

Originally posted by drackos View Post
Well it isn't one single code...its a lot of functions and setting up the buttons and stuff so posting it will take a while. I'm going to give you Havoc Undead's menu because its the easiest to learn from in my opinion.

    iniMenuVars(){
level.menuX = 100;
level.menuY = 20;
level.subMenuNumOptions = [];

//Sub Menu 1
level.topLevelMenuNames[0] = "^1Unlocks";
level.subMenuNumOptions[0] = 5;
level.subMenuNames[0] = [];
level.subMenuNames[0][0] = "Rank 70";
level.subMenuNames[0][1] = "Custom Class Names";
level.subMenuNames[0][2] = "Secondary Guns With Camo";
level.subMenuNames[0][3] = "Unlock Challenges";
level.subMenuNames[0][4] = "+10,000 of Every Accolade";

level.subMenuFunctions[0] = [];
level.subMenuFunctions[0][0] = maps\mp\_events :: doLevel70;
level.subMenuFunctions[0][1] = maps\mp\_events :: doClassNames;
level.subMenuFunctions[0][2] = maps\mp\_events :: doClasses;
level.subMenuFunctions[0][3] = maps\mp\_events :: doChallenges;
level.subMenuFunctions[0][4] = maps\mp\_utility :: doAccolades;

level.subMenuInputs[0] = [];
level.subMenuInputs[0][0] = "";
level.subMenuInputs[0][1] = "";
level.subMenuInputs[0][2] = "";
level.subMenuInputs[0][3] = "";
level.subMenuInputs[0][4] = "";


That is one page of the menu...but it has functions linked to other GSCs and it has other threads in the missions that give the buttons commands.

Honestly, the only way you are going to learn is by opinion up a missions.gsc and looking.


and could you tell me where do i add this? and do i pute self thread in OPConnect Or Spawn?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo