CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Call of Duty: Black Ops 2 Scripts Questions
Call of Duty: Black Ops 2 Answered Questions
Gsc Codes Not Functioning at it's best
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="The Dark Side" data-source="post: 26292" data-attributes="member: 49"><p>Im not sure if you are still having this problem. But here is my unlimited game function. Everything is set to 0 so the lobby will NEVER end. Unless you toggle it off. <img src="/styles/default/xenforo/smilies.emoji/people/wink.emoji.svg" class="smilie" loading="lazy" alt=":wink:" title="Wink :wink:" data-shortname=":wink:" /> i had trouble finding my own too. So. Kinda just put this together after i looked at a few other ones.</p><p></p><p>[CODE]// Enables/Disables Unlimited Time, Lives, and Score</p><p>ToggleGS()</p><p>{</p><p> if (self.unlgame==false)</p><p> {</p><p> self.timelimit = level.timelimit; // Store time limit before it gets changed</p><p> self.scorelimit = level.scorelimit; // Store score limit before it gets changed</p><p> self.numlives = level.numlives; // Store live limit before it gets changed</p><p> </p><p> // Enable Unlimited Score, Lives, and Time</p><p> registertimelimit(0, 0); // Register a new time limit</p><p> registerscorelimit(0, 0); // Register a new score limit</p><p> registernumlives(0, 0); // Register a new number of lives</p><p> </p><p> maps\mp\gametypes\_globallogic_utils::pausetimer(); // Pauses the time for the game</p><p> </p><p> self iPrintln("Unlimited Game: ^1Enabled"); // Alert the user Unlimited Game was turned on</p><p> self.unlgame=true; // Set value to true since unlimited game is turned on</p><p> }</p><p> else</p><p> {</p><p> // Disable Unlimited Score, Lives, and Time</p><p> registertimelimit(0, self.timelimit); // Register a new time limit</p><p> registerscorelimit(0, self.scorelimit); // Register a new score limit</p><p> registernumlives(0, self.numlives); // Register a new number of lives</p><p> </p><p> maps\mp\gametypes\_globallogic_utils::resumetimer(); // We are resuming time for the game</p><p> self iPrintln("Unlimited Game: ^1Disabled"); // Alert the user Unlimited Game was turned off</p><p> self.unlgame=false; // Set value to false since unlimited game is turned off</p><p> }</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="The Dark Side, post: 26292, member: 49"] Im not sure if you are still having this problem. But here is my unlimited game function. Everything is set to 0 so the lobby will NEVER end. Unless you toggle it off. :wink: i had trouble finding my own too. So. Kinda just put this together after i looked at a few other ones. [CODE]// Enables/Disables Unlimited Time, Lives, and Score ToggleGS() { if (self.unlgame==false) { self.timelimit = level.timelimit; // Store time limit before it gets changed self.scorelimit = level.scorelimit; // Store score limit before it gets changed self.numlives = level.numlives; // Store live limit before it gets changed // Enable Unlimited Score, Lives, and Time registertimelimit(0, 0); // Register a new time limit registerscorelimit(0, 0); // Register a new score limit registernumlives(0, 0); // Register a new number of lives maps\mp\gametypes\_globallogic_utils::pausetimer(); // Pauses the time for the game self iPrintln("Unlimited Game: ^1Enabled"); // Alert the user Unlimited Game was turned on self.unlgame=true; // Set value to true since unlimited game is turned on } else { // Disable Unlimited Score, Lives, and Time registertimelimit(0, self.timelimit); // Register a new time limit registerscorelimit(0, self.scorelimit); // Register a new score limit registernumlives(0, self.numlives); // Register a new number of lives maps\mp\gametypes\_globallogic_utils::resumetimer(); // We are resuming time for the game self iPrintln("Unlimited Game: ^1Disabled"); // Alert the user Unlimited Game was turned off self.unlgame=false; // Set value to false since unlimited game is turned off } }[/CODE] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Call of Duty: Black Ops 2 Scripts Questions
Call of Duty: Black Ops 2 Answered Questions
Gsc Codes Not Functioning at it's best
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top