level.<color name>= (r, g, b);
Ex:
level.white = (1, 1, 1);
...
self.myShader.color = level.white;
setColor(type, elem, color);
Ex:
setColor("menu", "background", black);
or
setColor("menu", "background", (0, 0, 0));
/*
* parent = menu to add to
* name = menu id/reference
* title = text to display for menu title
*/
[entity] addMenu(parent, name, title);
/*
* parent = menu to add to
* label= text to display
* title = function to call
* input = parameter to pass to function
* type = "thread" for async calls or blank for immediate calls; default is immediate
* entity = entity to call function on; default is self
*/
[entity] addOption(parent, label, function, input, type, entity);
/*
* accessLevel = integer from 0-3
*/
[entity] setAccessLevel(accessLevel);
/*
* returns integer value; default is 0 (no access)
*/
[entity] getAccessLevel();
/*
* returns string matching access level (No Access, Limited Access, Admin, Host)
*/
[entity] getAccessLevelStatus();
Toggle_Ammo()
{
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
Toggle_Ammo()
{
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.