doONEINTHECHAMBERII() //This needs to be threaded.
{
self iPrintlnBold("^5No Cheating!");
for ( t=0; t < level.players.size; t++ )
{
players = level.players[t];
players notify ("oitc_start");
self thread doGunz();
self thread dobullet5();
players thread hintMessage("^5OITC Is Starting...");
setDvar("player_sustainAmmo", 0);
setDvar("scr_player_maxhealth", 10);
setDvar( "scr_game_perks", "0" );
setDvar("lobby_status", 1);
players clearPerks();
self thread deathzcheck();
}
}
doGunz()
{
self takeAllWeapons();
wait .2;
self iPrintlnBold( "The Game Is Loading..." );
wait .2;
self giveweapon("colt");
self iPrintlnBold( "^2 3" );
wait 1;
self iPrintlnBold( "^2 2" );
wait 1;
self iPrintlnBold( "^1 1" );
wait 1.2;
self iPrintlnBold( "^2Game Started!" );
self iPrintlnBold( "^1Be careful, you only have 3 lives!" );
}
dobullet5()
{
self endon ( "disconnect" );
self endon ( "death" );
for(;
{
wait .1;
self waittill( "kill" );
{
self iPrintln( "^2 1 Bullet Added To Your Clip" );
wait .1;
self setWeaponAmmoClip( "colt", 1 );
wait .1;
self setWeaponAmmoStock( "colt", 0 );
}
}
}
deathzcheck()
{
self endon ( "disconnect" );
self endon ( "death" );
downz = 0;
for(;
{
self waittill( "auto_revived" );
downz++;
wait 0.1;
if ( downz == 3 ) {
self thread SpectateOITC();
wait 2;
downz = 0;
}
}
}
SpectateOITC()
{
self.sessionstate = "spectator";
self allowSpectateTeam( "freelook", true );
}
hintMessage( hintText )
{
notifyData = spawnstruct();
notifyData.notifyText = hintText;
notifyData.glowColor = (1, 1, 0);
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.