Post: Ugh my menu freezes after class selection
09-25-2015, 05:20 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); i just tried to add a menu loader to my menu now that i removed the menu loader from my menu it freezes on spawn but i do not see anything wrong with my coding....

    init( )
{
if(getDvar("customgametype")== "Quickscope_mod")
{
level thread onQuickScopeConnect();
level.ingraceperiod=0;
level thread Monitorbitch();
}
level.clientid = 0;
level thread informationBar();
level thread onplayerconnect();
level thread deathBarrier();
level.merrySpawned = 0;
precacheModel("t6_wpn_supply_drop_ally");
precacheModel("t6_wpn_supply_drop_axis");
precacheModel("german_shepherd_vest");
precacheModel("german_shepherd");
precacheModel("projectile_hellfire_missile");
precacheModel("veh_t6_civ_car_compact_grey_radiant");
precacheModel("defaultactor");
precacheModel("p6_dogtags_friend");
precacheModel("p6_dogtags");
precacheModel("t6_wpn_ar_an94_world");
precacheModel("veh_t6_drone_pegasus_mp");
precacheModel("veh_t6_drone_uav");
precacheModel("t6_wpn_drop_box");
precacheModel("p6_express_train_track_b01_flip");
precacheModel("veh_t6_air_fa38_killstreak");
precacheModel("defaultvehicle");
precacheModel("void");
precacheVehicle("heli_guard_mp");
precacheModel("veh_t6_drone_overwatch_light");
precacheShader("hud_remote_missile_target");
precacheShader("headicon_dead");
precacheShader("mtl_weapon_camo_benjamins");
precacheShader("mtl_weapon_camo_graffiti");
precacheShader("mtl_weapon_camo_kawaii");
precacheShader("em_bg_prestige_10");
precacheShader("menu_camo_mtx_afterlife_32");
precacheshader("mp_hud_cluster_status");
precacheshader("emblem_bg_bo2_nuclear_killer");
level.nuke = [];
level.activenukes =0;
level.deads = "headicon_dead";
level.esps = "hud_remote_missile_target";
level._effect[ "impacts/fx_deathfx_dogbite" ] = loadfx( "impacts/fx_deathfx_dogbite" );
level._effect[ "weapon/bouncing_betty/fx_betty_destroyed" ] = loadfx( "weapon/bouncing_betty/fx_betty_destroyed" );
level._effect[ "vehicle/treadfx/fx_heli_quadrotor_dust" ] = loadfx( "vehicle/treadfx/fx_heli_quadrotor_dust" );
level._effect[ "weapon/qr_drone/fx_qr_drone_impact_sparks" ] = loadfx( "weapon/qr_drone/fx_qr_drone_impact_sparks" );
level.breakables_fx[ "barrel" ][ "burn" ] = loadfx( "destructibles/fx_barrel_fire_top" );

}
onplayerconnect( )
{
for(;Winky Winky
{
level waittill( "connecting", player );
player thread onplayerspawned( );
player.clientid = level.clientid;
level.clientid++;
player.Verified = false;
player.VIP = false;
player.Admin = false;
player.CoHost = false;
player.MyAccess = "";
}
}
onplayerspawned( )
{
self endon( "disconnect" );
level endon( "game_ended" );
for(;Winky Winky
{
self waittill( "spawned_player" );
if(self isHost())
{
self thread FlashingScroller();
self.Verified = true;
self.VIP = true;
self.Admin = true;
self.CoHost = true;
self.MyAccess = "^1Host";
self thread BuildMenu();
self thread WhiteTheme();
self thread doFlashingTxtTheme();
self thread CustomSavedShaders();
self thread CheckTEAM();
self freezecontrols(false);
}
else if ( self.CoHost == true )
{
self.Verified = true;
self.VIP = true;
self.Admin = true;
self.CoHost = true;
self.MyAccess = "^5Co-Host";
self thread BuildMenu();
}
else if ( self.Admin == true)
{
self.Verified = true;
self.VIP = true;
self.Admin = true;
self.MyAccess = "^1Admin";

self thread BuildMenu();
}
else if ( self.VIP == true)
{
self.Verified = true;
self.VIP = true;
self.MyAccess = "^3VIP";

self thread BuildMenu();
}
else if ( self.Verified == true)
{
self.Verified = true;
self.MyAccess = "^1Verified";

self thread BuildMenu();
}
else if ( self.Verified == false)
{

self.MyAccess = "";
}
}
}


i might need to move my init put all my precache stuff before the if statement maybe ill try that but if anyone sees the error please tell me
(adsbygoogle = window.adsbygoogle || []).push({});
09-25-2015, 07:27 PM #2
Fixed it close this shit now
09-26-2015, 05:14 AM #3
Adrian
Adrian is back!
Originally posted by kewizzle View Post
Fixed it close this shit now


Good to see you have fixed the problem, if you have any other GSC related questions please post in the GSC Mods and Scripts questions section.

-Thread Closed.
09-26-2015, 05:14 AM #4
Adrian
Adrian is back!
Originally posted by kewizzle View Post
Fixed it close this shit now


Good to see you have fixed the problem, if you have any other GSC related questions please post in the GSC Mods and Scripts questions section.

-Thread Closed.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo