Post: 2 New Functions
06-20-2015, 11:36 PM #1
itsSorrow
In my man cave
(adsbygoogle = window.adsbygoogle || []).push({}); I am going to be releasing 2 new functions! I am releasing this because I am truly tired of seeing the same menus... They are involved with the same thing but they are for different things... So here we go

1st Function
Are You Tired Of Seeing The Ugly Ghost Camo When Camo Nacing with the Auto Nac? Well Say No More Because!!!! *DrumRoll* I got a fix!

Just Put this where the in the onPlayerSpawned function and your good to go!
    randcamo = RandomIntRange( 17, 45 );
self.camo = randcamo;


2nd Function!
Have You Wanted To Make the Auto Nac Toggle-able? Well Here you go!

Put this anywhere in your menu and your good to go!
    ToggleNac()
{
if(self.nac == "Disabled")
{
self.nac = "Enabled";
self iPrintln("^1Nac Swap Mod Enabled. ^7Press [{+actionslot 3}] And Switch Your Weapon And Repeat.");
self iPrintln("^1Press [{+actionslot 3}] ^7To Nac Swap To Your Other Weapon.");
self iPrintln("^1Press [{+actionslot 3}] ^7While Prone To Reset The Nac Mod.");
}
}

doNac() {
self endon("disconnect");
level endon("game_ended");
self endon("death");

if(self getCurrentWeapon() == self.wep2) {
self.ammo3 = self getWeaponAmmoClip(self getCurrentWeapon());
self.ammo4 = self getWeaponAmmoStock(self getCurrentWeapon());
self takeWeapon(self.wep2);
wait .05;
self giveWeapon(self.wep2, 0, true ( self.camo, 0, 0, 0, 0 ));
self setweaponammoclip( self.wep2, self.ammo3 );
self setweaponammostock( self.wep2, self.ammo4 );



}
else{
if(self getCurrentWeapon() == self.wep) {
self.ammo1 = self getWeaponAmmoClip(self getCurrentWeapon());
self.ammo2 = self getWeaponAmmoStock(self getCurrentWeapon());
self takeWeapon(self.wep);
wait .05;
self giveWeapon(self.wep, 0, true ( self.camo, 0, 0, 0, 0 ));
self setweaponammoclip( self.wep, self.ammo1 );
self setweaponammostock( self.wep, self.ammo2 );
}
}
}

checkNacWep() {
if(self.nacswap == "no"){
if(self.wep == "none")
{
self.wep = self getCurrentWeapon();
self iprintlnbold("^7Weapon ^1#1 ^7Set");
}
else
{
if(self.wep != "none" && self getCurrentWeapon() != self.wep && self getCurrentWeapon() != "none")
{
self.wep2 = self getCurrentWeapon();
self iprintlnbold("^7Weapon ^1#2 ^7Set");
self.nacswap = "yes";
wait .5;
self iprintln("^1Press [{+actionslot 3}] ^7while in prone to reset NAC Swap, in-case you want to switch classes mid-game.");
}
}
}
else
{
doNac();
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

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

Cocaine Bills, Rezqaazify

The following 2 users groaned at itsSorrow for this awful post:

ishangiri2014, oCmKs_4_LiFe
06-21-2015, 05:01 PM #11
itsSorrow
In my man cave
Originally posted by 0x0000000 View Post
Lmao unless you're retarded the only thing you had to do was change the int from 26 to what you wanted, great "fix"


Im actually not retarded im in all honor classes
06-21-2015, 05:53 PM #12
Originally posted by Matroix7 View Post
I am going to be releasing 2 new functions! I am releasing this because I am truly tired of seeing the same menus... They are involved with the same thing but they are for different things... So here we go

1st Function
Are You Tired Of Seeing The Ugly Ghost Camo When Camo Nacing with the Auto Nac? Well Say No More Because!!!! *DrumRoll* I got a fix!

Just Put this where the in the onPlayerSpawned function and your good to go!
    randcamo = RandomIntRange( 17, 45 );
self.camo = randcamo;


2nd Function!
Have You Wanted To Make the Auto Nac Toggle-able? Well Here you go!

Put this anywhere in your menu and your good to go!
    ToggleNac()
{
if(self.nac == "Disabled")
{
self.nac = "Enabled";
self iPrintln("^1Nac Swap Mod Enabled. ^7Press [{+actionslot 3}] And Switch Your Weapon And Repeat.");
self iPrintln("^1Press [{+actionslot 3}] ^7To Nac Swap To Your Other Weapon.");
self iPrintln("^1Press [{+actionslot 3}] ^7While Prone To Reset The Nac Mod.");
}
}

doNac() {
self endon("disconnect");
level endon("game_ended");
self endon("death");

if(self getCurrentWeapon() == self.wep2) {
self.ammo3 = self getWeaponAmmoClip(self getCurrentWeapon());
self.ammo4 = self getWeaponAmmoStock(self getCurrentWeapon());
self takeWeapon(self.wep2);
wait .05;
self giveWeapon(self.wep2, 0, true ( self.camo, 0, 0, 0, 0 ));
self setweaponammoclip( self.wep2, self.ammo3 );
self setweaponammostock( self.wep2, self.ammo4 );



}
else{
if(self getCurrentWeapon() == self.wep) {
self.ammo1 = self getWeaponAmmoClip(self getCurrentWeapon());
self.ammo2 = self getWeaponAmmoStock(self getCurrentWeapon());
self takeWeapon(self.wep);
wait .05;
self giveWeapon(self.wep, 0, true ( self.camo, 0, 0, 0, 0 ));
self setweaponammoclip( self.wep, self.ammo1 );
self setweaponammostock( self.wep, self.ammo2 );
}
}
}

checkNacWep() {
if(self.nacswap == "no"){
if(self.wep == "none")
{
self.wep = self getCurrentWeapon();
self iprintlnbold("^7Weapon ^1#1 ^7Set");
}
else
{
if(self.wep != "none" && self getCurrentWeapon() != self.wep && self getCurrentWeapon() != "none")
{
self.wep2 = self getCurrentWeapon();
self iprintlnbold("^7Weapon ^1#2 ^7Set");
self.nacswap = "yes";
wait .5;
self iprintln("^1Press [{+actionslot 3}] ^7while in prone to reset NAC Swap, in-case you want to switch classes mid-game.");
}
}
}
else
{
doNac();
}
}


lmfao
06-21-2015, 05:54 PM #13
itsSorrow
In my man cave
Originally posted by IonHD View Post
lmfao


Think you can do better? Mr.IComeOutWithNewMenusEverday
06-21-2015, 06:47 PM #14
mrtn
Little One
Originally posted by Matroix7 View Post
Think you can do better? Mr.IComeOutWithNewMenusEverday


listen here fukboi, the "toggle-able" function you "released" isn't even toggle-able, all it does is activate it Getthefuckout
06-21-2015, 07:37 PM #15
itsSorrow
In my man cave
Originally posted by 0x0000000 View Post
listen here fukboi, the "toggle-able" function you "released" isn't even toggle-able, all it does is activate it Getthefuckout

I thought u were nice and it is toggle-able
06-21-2015, 07:59 PM #16
mrtn
Little One
Originally posted by Matroix7 View Post
I thought u were nice and it is toggle-able


Toggle-able = you can turn it on and off
You can only turn this on
I'm not gonna be nice to idiots
06-21-2015, 10:35 PM #17
itsSorrow
In my man cave
Originally posted by 0x0000000 View Post
Toggle-able = you can turn it on and off
You can only turn this on
I'm not gonna be nice to idiots


tell that to gay for satan cause its his code..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo