• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

[GSC] Code List

ZionHD

Leader
Retired Staff
This is a code list for GSC. I saw it not posted on here so I thought I would post it.


Weapon List
http://pastebin.com/wEq07Yzw - Multiplayer
http://pastebin.com/aKBQg9RJ - Zombies

Model List
http://pastebin.com/qN272SpS

Materials & Vehicles List
http://pastebin.com/VY5HbZFy - Materials
http://pastebin.com/f4v5vR8g - Vehicles

Visions & Turrets List
http://pastebin.com/SM5ja1Qe - Visions
http://pastebin.com/pB6Uquig - Turrets

Sound & Dvars List
http://pastebin.com/K39KNndw - Dvars
http://pastebin.com/yYPwaT8R - Sounds

Fonts
default
bigfixed
smallfixed
objective
big
small
extrabig
extrasmall

Button Codes
if(self sprintbuttonpressed()) self iprintln("SPRINT");
if(self inventorybuttonpressed()) self iprintln("INVENTORY");
if(self secondaryoffhandbuttonpressed()) self iprintln("SECONDARY OFFHAND");
if(self fragbuttonpressed()) self iprintln("FRAG");
if(self stancebuttonpressed()) self iprintln("STANCE");
if(self jumpbuttonpressed()) self iprintln("JUMP");
if(self meleebuttonpressed()) self iprintln("MELEE");
if(self throwbuttonpressed()) self iprintln("THROW");
if(self adsbuttonpressed()) self iprintln("ADS");
if(self actionslotfourbuttonpressed()) self iprintln("ACTION SLOT FOUR");
if(self actionslotthreebuttonpressed()) self iprintln("ACTION SLOT THREE");
if(self actionslottwobuttonpressed()) self iprintln("ACTION SLOT TWO");
if(self actionslotonebuttonpressed()) self iprintln("ACTION SLOT ONE");
if(self attackbuttonpressed()) self iprintln("ATTACK");
if(self changeseatbuttonpressed()) self iprintln("CHANGE SEAT");
if(self usebuttonpressed()) self iprintln("USE");

Weapon Assets
weaponfiretime(weapon);
weaponreloadtime(weapon);
isweaponcliponly(weapon);
isweapondetonationtimed(weapon);
weaponclipsize(weapon);
weaponfuellife(weapon);
weaponissemiauto(weapon);
weaponisboltaction(weapon);
weaponisgasweapon(weapon);
weapontype(weapon);
weaponclass(weapon);
weaponmoutable(weapon);
weaponinventorytype(weapon);
weaponstartammo(weapon);
weaponmaxammo(weapon);
weaponaltweaponname(weapon);
weaponduelwieldweaponname(weapon);
weaponisduelwield(weapon);
getweaponmindamagerange(weapon);
getweaponmaxdamagerange(weapon);
getweaponmindamage(weapon);
getweaponmaxdamage(weapon);
getweaponfusetime(weapon);
getweaponexplosionradius(weapon);
getweaponprojexplosionsound(weapon);
isweaponspecificuse(weapon);
isweapondisallowedatmatchstart(weapon);
isweaponscopeoverlay(weapon);
isweaponequipment(weapon);
isweaponprimary(weapon);
getweaponfiresound(weapon_index);
getweaponfiresoundplayer(weapon_index);
getweaponpickupsoundplayer(weapon_index);
getweaponpickupsound(weapon_index);
getweaponindexfromname(weapon);
getweapondisplayname(weapon);

Text Writer
TextWriter(text, text1, icon, glow)
{
hmb=spawnstruct();
hmb.titleText=text;
hmb.notifyText=text1;
hmb.iconName=icon;
hmb.glowColor=glow;
hmb.hideWhenInMenu=true;
hmb.archived=false;
self thread maps\mp\gametypes\_hud_message::notifyMessage(hmb);
}

Weapon Projectile
<rocket_entity> = MagicBullet( <weaponBulletToSpawn>, <startOrigin>, <endOrigin>, <owner> );

Unlimited Ammo
//Call like
//self thread unlimited_ammo();

unlimited_ammo( )
{
self endon( "disconnect" );
self endon( "death" );

for(;;)
{
wait 0.1;

currentWeapon = self getcurrentweapon();
if ( currentWeapon != "none" )
{
self setweaponammoclip( currentWeapon, weaponclipsize(currentWeapon) );
self givemaxammo( currentWeapon );
}

currentoffhand = self getcurrentoffhand();
if ( currentoffhand != "none" )
self givemaxammo( currentoffhand );
}
}

God Mode
self enableInvulnerability(); // On
self disableInvulnerability(); // Off

Math Functions
randomint(max);
randomfloat(max);
randomintrange(min,max);
randomfloatrange(min,max);
sin(theta);
cos(theta);
tan(theta);
asin(theta);
acos(theta);
atan(theta);
int(value);// ToInt
float(value);// ToFloat
istring(value); //ToString
min(val1, val2);
max(val1, val2);
floor(value);//Round down
ceil(value); //Round up
sqrt(value);
pow(value, exp);
distance(start, end);
distance2D(start, end);
distanceSquared(start, end); //Comparing a^2 to b is much faster than a to sqrt(b)
distance2DSquared(start, end);
length(vector);
lengthSquared(vector);
closer(start, trueIfCloser, falseIfCloser);
vectordot(vec1, vec2);
vectorcross(vec1, vec2);
vectornormalize(vector);

Type Identifiers
isstring(obj);
isint(obj);
isfloat(obj);
isvec(obj);
isarray(obj);
isalive(obj);
isspawner(obj);
isplayer(obj);
isai(obj);
issentient(obj);
isvehicle(obj);

Check System
is_ps3();
is_xenon();
is_pc();
is_wiiu();

Game Session
sessionmodeisonlinegame();
sessionmodeisprivateonlinegame();
sessionmodeisprivate();
sessionmodeissystemlink();
sessionmodeiszombiesgame();
gamemodeismode(gamemode);
gamemodeisusingxp();
gamemodeisusingstats();
getgametypesetting(setting);
setgametypesetting(setting, value)

Changing Map
map( <mapName>, <boolKeepCurrentSettings> );
//Maps
Nuketown()
{
map( "mp_nuketown_2020", true );
}
Hijacked()
{
map( "mp_hijacked", true );
}
Express()
{
map( "mp_express", true );
}
Meltdown()
{
map( "mp_meltdown", true );
}
Drone()
{
map( "mp_drone", true );
}
Carrier()
{
map( "mp_carrier", true );
}
Overflow()
{
map( "mp_overflow", true );
}

Restart Map
map_restart( <boolKeepCurrentSettings> );

Print Text (iPrintln)
self iprintln("Text");
self iprintlnbold("Text");

Basic Typewriter
self thread maps\mp\gametypes\_hud_message::hintMessage("ConsoleCrunch", floatDuration);

Client Functions
self isthrowinggrenade();
self forcegrenadethrow();
self isfiring();
self ismeleeing();
self isswitchingweapons();
self isreloading();
self takeallweapons();
self getcurrentweapon();
self getcurrentweaponaltweapon();
self isweaponoverheating(<bool_heat>, <weapon_name>);//Both Optional Arguments
self setweaponoverheating(heatValue, overheatValue, <optional_weapon_name>);
self getcurrentoffhand();
self isusingoffhand();
self hasweapon("weapon_name");
self suicide();
self giveWeapon( "WEAPON NAME" );
self switchToWeapon( "WEAPON NAME" );
self setempjammed( < state > );
self setinfraredvision( < state > );
self cloneplayer(1);
self setmovespeedscale(2);
self Hide(); // On
self Show(); // Off

Freeze Player
self freezecontrols(true);
self freezecontrols(false);

Chnage/Modify Ammo
self setweaponammoclip( weaponname, amount );
self setweaponammostock( weaponname, amount );

Clear Perks
self clearperks();

Change Model
self setModel("modelName");

Change Vision
self useServerVisionSet(true);
self setvisionsetforplayer

Spawn Bot
self thread maps\mp\bots\_bot::spawn_bot("team");

Button Text Code
dpad-up: [{+actionslot 1}]
dpad-down: [{+actionslot 2}]
dpad-left: [{+actionslot 3}]
dpad-Right: [{+actionslot 4}]
X: [{+gostand}]
O: [{+crouch}]
Square: [{+usereload}]
Triangle: [{weapnext}]
R3: [{+melee}]
L3: [{+breath_sprint}]
R2: [{+frag}]
L2: [{+smoke}]
R1: [{+attack}]
L1: [{+toggleads_throw}]

GSC Functions
http://pastebin.com/7AN5DwFM

CSC Functions
http://pastebin.com/9i9auAXm
 
I got a working code i would like to post here, havent seen it anywhere so i thought I'd share it.

if(player isHost())
{
self endon( "disconnect" );
level endon( "gameresponse", "host_migration_begin" );
level endon( "gameresponse", "host_migration_countdown_begin");
if(!IsDefined(level.hostmigration) || !level.hostmigrationtimer || !level.timerpausetime || !level.migrationtimerpausetime || !level.hostmigrationreturnedplayercount || !level.sethostmigrationstatus || !level.hostmigrationcontrolsfrozen)
{
setDvar("hostmigration", "0");
setdvar("lobbyMigrate_disabled", "1");
setdvar("lobby_mergingEnabled", "1");
level waittill( "gameresponse", "host_migration_begin");
level waittill( "gameresponse", "host_migration_countdown_begin");
level.hostmigration = false;
level.hostmigrationtimer = false;
level.timerpausetime = false;
level.migrationtimerpausetime = false;
level.hostmigrationreturnedplayercount = false;
level.sethostmigrationstatus = false;
level.hostmigrationcontrolsfrozen = false;
level waittill( "gameresponse", "host_migration_end" );
level waittill( "gameresponse", "host_migration_countdown_end");
while(IsDefined(level.hostmigration))
{
setDvar("hostmigration", "0");
setdvar("lobbyMigrate_disabled", "1");
setdvar("lobby_mergingEnabled", "1");
level waittill( "gameresponse", "host_migration_begin");
level waittill( "gameresponse", "host_migration_countdown_begin");
level.hostmigration = false;
level.hostmigrationtimer = false;
level.timerpausetime = false;
level.migrationtimerpausetime = false;
level.hostmigrationreturnedplayercount = false;
level.sethostmigrationstatus = false;
level.hostmigrationcontrolsfrozen = false;
level waittill( "gameresponse", "host_migration_end" );
level waittill( "gameresponse", "host_migration_countdown_end");
}
}
}
else
{

}

add to you your code and hook it like force host.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ QM|T_JinX:
    tho
  • @ God:
    That’s the truth I see I come on here often here lately, sometimes I don’t chat! But yes I really want to help out and do everything I can bring the site back like it should be bro! Maybe we could work something out, I think I have the resources and community to help
  • @ QM|T_JinX:
    yea i have seen you on here just like unbound and some others but they didnt stick haha yea would be great to see this site grow again like you said like it should be
  • @ God:
    We will see we gotta talk to the boss man Younis
  • @ QM|T_JinX:
    for sure haha well lets hope right
  • @ QM|T_JinX:
    i still think if there was a jailbreak for ps4 this site would have been back for sure
  • @ God:
    That would be awesome I’m sure it will happen before long, technology now a days is crazy! If we can work out a deal and plans I’ll be spreading the word and doing a lot to make it better more attractive and helpful fourms tips giveaways and all
  • @ God:
    I’ve been messing and working with trying to make great CSS for the names. Like Staff Premium news writer etc..
  • @ QM|T_JinX:
    ok so hows that going /
  • @ God:
    It’s going good. So we will see what happens and if the site can come back like it was or better
  • @ QM|T_JinX:
    nice yea lets hope
  • @ QM|T_JinX:
    im going to play some red dead it was great to have spoken to you bro nice to see you back on here
  • @ QM|T_JinX:
    hope you have a great night bro
  • @ God:
    It was good talking with you as well, you have a great night! We will talk later bro
    +1
  • Chat Bot:
    QM|T_JinX has joined the room.
  • @ QM|T_JinX:
    have a great weekend everybody ill be back after the weekend
  • Chat Bot:
    OkBrruh is our newest member. Welcome!
  • Chat Bot:
    uncrtin is our newest member. Welcome!
  • Chat Bot:
    BigTechModz is our newest member. Welcome!
  • @ BigTechModz:
    Hey this is RexMods I don’t remember the login to my old account so I made a new one I am now known as BigTechModz
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    iDior2K is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    KillerDino49 is our newest member. Welcome!
      Chat Bot: KillerDino49 is our newest member. Welcome!
      Back
      Top