Post: making a mod menu
02-10-2016, 04:47 PM #1
Jtv
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); i need help with making a mod menu guys i have the stuff i just need to get codes and toggles and plus to make it non host also someone help me pleaseseb5594Geo
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Jtv for this useful post:

CallMeDex

The following user groaned Jtv for this awful post:

John
02-10-2016, 05:50 PM #2
-Numb
You talkin to me?
Originally posted by Jvance33 View Post
i need help with making a mod menu guys i have the stuff i just need to get codes and toggles and plus to make it non host also someone help me pleaseseb5594Geo


Can't have gsc non host.. and there is plenty of functions in the Managed Code List's
02-11-2016, 12:07 AM #3
Jtv
Bounty hunter
Originally posted by Numb View Post
Can't have gsc non host.. and there is plenty of functions in the Managed Code List's

like when I put them in my system after I edit and stuff
02-11-2016, 02:50 AM #4
HiddenHour
I defeated!
Originally posted by Jvance33 View Post
like when I put them in my system after I edit and stuff


Wtf bruh what

The following user thanked HiddenHour for this useful post:

02-11-2016, 03:18 AM #5
Jtv
Bounty hunter
Originally posted by TheHiddenHour View Post
Wtf bruh what


what i mean is when put lowammoflash it wasnt keeps freezing after i inject it
and it wont even work if i edit it for some reason
02-11-2016, 04:08 AM #6
HiddenHour
I defeated!
Originally posted by Jvance33 View Post
what i mean is when put lowammoflash it wasnt keeps freezing after i inject it
and it wont even work if i edit it for some reason


You're gunna have to use fully written sentences in English, my boy. State CLEARLY what you want. Do you want to know how to add options to your menu, make lowammoflash work, or do you want to know something else?
02-11-2016, 04:11 AM #7
Jtv
Bounty hunter
make lowammoflash work bro
02-11-2016, 04:16 AM #8
HiddenHour
I defeated!
Originally posted by Jvance33 View Post
make lowammoflash work bro


Post the code that you're using so someone can take a look at it.
02-11-2016, 04:22 AM #9
Jtv
Bounty hunter
Originally posted by TheHiddenHour View Post
Post the code that you're using so someone can take a look at it.


flashlowammo()
{
if (self.FlashingAMMO == true)
{
self thread lowammoflash();
self iPrintln("^7Flashing Low Ammo ^2ON");
self.FlashingAMMO = false;
}
else
{
self notify("StopFlash");
self iPrintln("^7Flashing Low Ammo ^1OFF");
self.FlashingAMMO = true;
}
}

lowammoflash()
{
self endon("disconnect");
self endon("StopFlash");
while(1)
{
setDvar("lowAmmoWarningColor1","1 0 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 0.7 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0.7 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0.7 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 1 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 1 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 1 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 1 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 1 0 1");
setDvar("lowAmmoWarningNoReloadColor1","0 1 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 0 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 0 1 1");
setDvar("lowAmmoWarningNoReloadColor1","0 0 1 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 0 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0 1 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0 1 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 1 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 1 1 1");
setDvar("lowAmmoWarningNoReloadColor1","0 1 1 1");
wait .1;
}
}


Thats one and
gravity()
{
if(self.grav == true)
{
setDvar("bg_gravity", "150");
self.grav = false;
self iPrintln("Gravity ^2ON");
}
else
{
setDvar("bg_gravity", "800");
self.grav = true;
self iPrintln("Gravity ^1OFF");
}
}

hearallplayers()
{
if (self.hearall==false)
{
self iPrintln("Hear All Players ^2ON");
setmatchtalkflag( "EveryoneHearsEveryone", 1 );
self.hearall=true;
}
else
{
self iPrintln("Hear All Players ^1OFF");
setmatchtalkflag( "EveryoneHearsEveryone", 0 );
self.hearall=false;
}
}
02-11-2016, 05:10 AM #10
HiddenHour
I defeated!
Originally posted by Jvance33 View Post
flashlowammo()
{
if (self.FlashingAMMO == true)
{
self thread lowammoflash();
self iPrintln("^7Flashing Low Ammo ^2ON");
self.FlashingAMMO = false;
}
else
{
self notify("StopFlash");
self iPrintln("^7Flashing Low Ammo ^1OFF");
self.FlashingAMMO = true;
}
}

lowammoflash()
{
self endon("disconnect");
self endon("StopFlash");
while(1)
{
setDvar("lowAmmoWarningColor1","1 0 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 0.7 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0.7 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0.7 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 1 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 1 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 1 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 1 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 1 0 1");
setDvar("lowAmmoWarningNoReloadColor1","0 1 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 0 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 0 1 1");
setDvar("lowAmmoWarningNoReloadColor1","0 0 1 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 0 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0 1 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0 1 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 1 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 1 1 1");
setDvar("lowAmmoWarningNoReloadColor1","0 1 1 1");
wait .1;
}
}


Thats one and
gravity()
{
if(self.grav == true)
{
setDvar("bg_gravity", "150");
self.grav = false;
self iPrintln("Gravity ^2ON");
}
else
{
setDvar("bg_gravity", "800");
self.grav = true;
self iPrintln("Gravity ^1OFF");
}
}

hearallplayers()
{
if (self.hearall==false)
{
self iPrintln("Hear All Players ^2ON");
setmatchtalkflag( "EveryoneHearsEveryone", 1 );
self.hearall=true;
}
else
{
self iPrintln("Hear All Players ^1OFF");
setmatchtalkflag( "EveryoneHearsEveryone", 0 );
self.hearall=false;
}
}


They seen fine to me. How are you calling them in your menu?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo