(adsbygoogle = window.adsbygoogle || []).push({});
Hey everyone, before you flame and say it's already been released... It hasn't, I double checked :p anyway, this is like opening the menu in Godly Mods, some devil patch or a tree patch... Or my V6
It's quite a simple code. Especially with me spoon feeding you

It doesn't take up alot of code to be honest.
First of all you need to put this under your
_openMenu() and
exitMenu() wherever your menu is placed.
Under
exitMenu() add this:
self takeWeapon("killstreak_ac130_mp");
self giveweapon("cheytac_fmj_xmags_mp",
;
self switchToWeapon("cheytac_fmj_xmags_mp",
;
Under
_openMenu() add this:
self takeWeapon(self getCurrentWeapon());
self giveweapon("killstreak_ac130_mp");
self switchToWeapon("killstreak_ac130_mp");
This next part is if you have any sub menus in the patch you're editing. This will stop the bug that accurs if you add the first too bits and not these.
The thing you're meant to be looking for is possibly called
exitSubMenu() so underneath that add in:
self takeWeapon("killstreak_ac130_mp");
self giveweapon("cheytac_fmj_xmags_mp",
;
self switchToWeapon("cheytac_fmj_xmags_mp",
;
All of them codes will eventually lead to you have an opening laptop for your menu.

There is a problem I cannot fix, which is it'll give you an intervention (obviously I can change what weapon it gives you but I don't know how to make it give you the weapon you had before you entered the menu)
If you want to add in your own gun for when the menu closes just have a look at this thread (Credit to
You must login or register to view this content.... He really is a pro.)
You must login or register to view this content.
The next bit of code is pretty much optional. This will make it so your screen goes black when you've entered the menu. You will still see the menu though.
Add this in the
exitMenu() and the
exitSubMenu()
self VisionSetNakedForPlayer(getDvar( "mapname" ), .4);
That will fix the damn bug of you keeping your vision (in this case the black screen) when exiting the menu's. Now for the entering menu vision - the black screen itself :wtf:
Where you put the code in the
_openMenu() put this under it so it makes it look like you're going into an AC-1Menu :p
self VisionSetNakedForPlayer("blacktest", 3);
Where it says "
", 3);" that 3 is the overall time it takes for the darkness to become fully black. if you wanted to make it instantly black you could put
self VisionSetNakedForPlayer("blacktest", .1);
I think :p if you wanted to make it longer you would just put how many seconds you want it to be. Hope you enjoy your laptop opening menu

this took me about 10 minutes to make, very simple but it will make you look that 1 bit more pro :dingding:
Forgot to say. Credit to me for fixing the code and doing about 80% of it.
LegendaryGrape for releasing a DEREKTROTTER V8 edit and having the laptop thingy in it. (I just fixed it)
DEREKTROTTER for being the inspiration that LegendaryGrape needed so he can edit his patch :whistle: