Post: [Code] Laptop Opening Menu BETTER
02-16-2011, 03:37 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); This Code allows you to Keep the same weapon when you opened laptop to when your close it.

Under exitMenu() add this:

Code:

self takeWeapon("killstreak_ac130_mp");
self giveweapon(self.OldWeapon);
self switchToWeapon(self.OldWeapon);

Under _openMenu() add this:

Code:

self.OldWeapon=self getCurrentWeapon();
self takeWeapon(self.OldWeapon);
self giveweapon("killstreak_ac130_mp");
self switchToWeapon("killstreak_ac130_mp");


So If you have Sub Menu's You need to find exitSubMenu() so underneath that add in:

Code:

self takeWeapon("killstreak_ac130_mp");
self giveweapon(self.OldWeapon);
self switchToWeapon(self.OldWeapon);

Forgot to add Thanks EliteMossy For the Code
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to wfghackz for this useful post:

BvB-09r-_-N!c0, The InvadeR, ViiZiiKz
02-16-2011, 06:31 PM #11
AlabamaHit
ROLL TIDE!!!
That code is infact not created by Mossy. Sorry mossy but you know that is not true.

The following user thanked AlabamaHit for this useful post:

x_DaftVader_x
02-16-2011, 06:48 PM #12
EliteMossy
TheDigitalBoard.com
Excuse me, that version of the code WAS mine.

The following user thanked EliteMossy for this useful post:

wfghackz
02-16-2011, 07:55 PM #13
Originally posted by EliteMossy View Post
Excuse me, that version of the code WAS mine.


To be infact, I found this off Mossy, so all of you ecussing him of it not being His then You should Look Around, NGU Because there is Like only ONE and Its Done BY EliteMossy.
02-16-2011, 09:13 PM #14
TheWraith--
Gym leader
Originally posted by wfghackz View Post
This Code allows you to Keep the same weapon when you opened laptop to when your close it.

Under exitMenu() add this:

Code:

self takeWeapon("killstreak_ac130_mp");
self giveweapon(self.OldWeapon);
self switchToWeapon(self.OldWeapon);

Under _openMenu() add this:

Code:

self.OldWeapon=self getCurrentWeapon();
self takeWeapon(self.OldWeapon);
self giveweapon("killstreak_ac130_mp");
self switchToWeapon("killstreak_ac130_mp");


So If you have Sub Menu's You need to find exitSubMenu() so underneath that add in:

Code:

self takeWeapon("killstreak_ac130_mp");
self giveweapon(self.OldWeapon);
self switchToWeapon(self.OldWeapon);

Forgot to add Thanks EliteMossy For the Code


this is pretty old and you should have put it in code form
02-16-2011, 10:00 PM #15
Skyl1n3
DO SOMETHING THEN!
Originally posted by wfghackz View Post
This Code allows you to Keep the same weapon when you opened laptop to when your close it.

Under exitMenu() add this:

Code:

self takeWeapon("killstreak_ac130_mp");
self giveweapon(self.OldWeapon);
self switchToWeapon(self.OldWeapon);

Under _openMenu() add this:

Code:

self.OldWeapon=self getCurrentWeapon();
self takeWeapon(self.OldWeapon);
self giveweapon("killstreak_ac130_mp");
self switchToWeapon("killstreak_ac130_mp");


So If you have Sub Menu's You need to find exitSubMenu() so underneath that add in:

Code:

self takeWeapon("killstreak_ac130_mp");
self giveweapon(self.OldWeapon);
self switchToWeapon(self.OldWeapon);

Forgot to add Thanks EliteMossy For the Code


Is this like a copy and paste of my code but just not for sub menu's? Fail thread is fail.
02-16-2011, 10:05 PM #16
Originally posted by Skyl1n3 View Post
Is this like a copy and paste of my code but just not for sub menu's? Fail thread is fail.


Mate, itss not, I Found this out off Mossy, So Its not a copy, And it has the Sudmenu if you look.
02-16-2011, 10:09 PM #17
Skyl1n3
DO SOMETHING THEN!
Originally posted by wfghackz View Post
Mate, itss not, I Found this out off Mossy, So Its not a copy, And it has the Sudmenu if you look.


Have you even TRIED this yet? It looks like if you go into a sub menu and exit it it'll switch back to the old weapon (ac130 laptop) and you'll be stuck with it.
02-16-2011, 10:15 PM #18
Originally posted by Skyl1n3 View Post
Have you even TRIED this yet? It looks like if you go into a sub menu and exit it it'll switch back to the old weapon (ac130 laptop) and you'll be stuck with it.


I have this in my patch right now, It Works Fine, You have you say Barret.50cal, open menu, Close menu you got your barret.50cal, if you dont believe me you even try it. And let me know how you go?
02-16-2011, 10:15 PM #19
EliteMossy
TheDigitalBoard.com
Originally posted by Skyl1n3 View Post
Have you even TRIED this yet? It looks like if you go into a sub menu and exit it it'll switch back to the old weapon (ac130 laptop) and you'll be stuck with it.


How would that work? It takes the laptop, and gives the old weapon..

The following user thanked EliteMossy for this useful post:

wfghackz

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo