Post: New Mod Menu Filler
02-04-2011, 04:12 AM #1
Moto Cross
Auction King
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU i was looking at some codes and kinda put this together its not much but thought it would be kinda fun. Its a Menu filler like a shadder of sort it has not been tested as couldn't be bothered and im typing this at 11

So here it is a flash bang shadder thing

_openMenu(){
self.MenuIsOpen = true;
self freezeControls(true);
//BLAH BLAH BLAH NORMAL STUFF HERE
self thread flasherOn();

}


then to close/turn off

exitMenu(){
self.MenuIsOpen = false;
self freezeControls(false);
self thread flasherOff();
}


flasherOn()
{
self shellshock( "flashbang_mp", 60 );
}


flasherOff()
{
self shellshock( "flashbang_mp", 0);
}


There you go nothing special just thought it would be fun

like i said hasn't been tested and could probably be optimized but hey :plank:
(adsbygoogle = window.adsbygoogle || []).push({});
02-04-2011, 04:15 AM #2
this would be annoying
02-04-2011, 04:26 AM #3
Chrome Playa
Chrome Gaming Reloaded
Originally posted by CHUCK
Hey NGU i was looking at some codes and kinda put this together its not much but thought it would be kinda fun. Its a Menu filler like a shadder of sort it has not been tested as couldn't be bothered and im typing this at 11

So here it is a flash bang shadder thing

_openMenu(){
self.MenuIsOpen = true;
self freezeControls(true);
//BLAH BLAH BLAH NORMAL STUFF HERE
self thread flasherOn();

}


then to close/turn off

exitMenu(){
self.MenuIsOpen = false;
self freezeControls(false);
self thread flasherOff();
}


flasherOn()
{
self shellshock( "flashbang_mp", 60 );
}


flasherOff()
{
self shellshock( "flashbang_mp", 0);
}


There you go nothing special just thought it would be fun

like i said hasn't been tested and could probably be optimized but hey :plank:


No need to call for separate functions.Just simply do this:

    _openMenu(){
self.MenuIsOpen = true;
self freezeControls(true);
//BLAH BLAH BLAH NORMAL STUFF HERE
self shellshock( "flashbang_mp", 60 );

}

exitMenu(){
self.MenuIsOpen = false;
self freezeControls(false);
self shellshock( "flashbang_mp", 0);
}

The following user thanked Chrome Playa for this useful post:

Pauly
02-04-2011, 05:10 PM #4
Originally posted by CHUCK
Hey NGU i was looking at some codes and kinda put this together its not much but thought it would be kinda fun. Its a Menu filler like a shadder of sort it has not been tested as couldn't be bothered and im typing this at 11

So here it is a flash bang shadder thing


}


Hahaha..

Thats the 60 second flashbang I posted, I don't think you would want it in your menu..

It whites out the screen, freezes you and makes a whistling noise for 60 seconds.

Its REALLY annoying.. Its better used for each player in game except you..
02-04-2011, 05:21 PM #5
Mr.Azoz
I’m too L33T
if you add it to derank it will be better (;
02-04-2011, 11:49 PM #6
Moto Cross
Auction King
Originally posted by x View Post
Hahaha..

Thats the 60 second flashbang I posted, I don't think you would want it in your menu..

It whites out the screen, freezes you and makes a whistling noise for 60 seconds.

Its REALLY annoying.. Its better used for each player in game except you..


meh i know but you never now maybe in a derank or only for people you hate

---------- Post added at 06:49 PM ---------- Previous post was at 06:48 PM ----------

Originally posted by Chrome
No need to call for separate functions.Just simply do this:

    _openMenu(){
self.MenuIsOpen = true;
self freezeControls(true);
//BLAH BLAH BLAH NORMAL STUFF HERE
self shellshock( "flashbang_mp", 60 );

}

exitMenu(){
self.MenuIsOpen = false;
self freezeControls(false);
self shellshock( "flashbang_mp", 0);
}


see optimizing like i said just for fun but thanks
02-05-2011, 01:46 AM #7
dahmn8tr
Pokemon Trainer
appreciate the extra help by giving us a mod menu to look at.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo