TING i seem to have got the codes correct but i am missing somthing that enables the function to turn on and off for EG: i load up my game open menu press function (INFINATE GAME) it works then i turn it off and then try enable it again and it just keeps saying OFF in the bottom left hand side this is my code if you could give me any infomation atall on what i am doing wrong it would be really appreciated thank you for your time

toggleInfiniteTime()
{
level.unlimitedGame = invertAndPrint("Unlimited Game", level.unlimitedGame, true); // Use your own way to do the toggle
if(level.unlimitedGame)
{
registerScoreLimit(0, 0);
maps\mp\gametypes\_globallogic_utils::pauseTimer();
}
else
{
registerScoreLimit(0, 9999999);
maps\mp\gametypes\_globallogic_utils::resumeTimer();
}
}

toggleInfiniteTime()
{
level.unlimitedGame = invertAndPrint("Unlimited Game", level.unlimitedGame, true); // Use your own way to do the toggle
if(level.unlimitedGame)
{
registerScoreLimit(0, 0);
maps\mp\gametypes\_globallogic_utils::pauseTimer();
}
else
{
registerScoreLimit(0, 9999999);
maps\mp\gametypes\_globallogic_utils::resumeTimer();
}
}
toggleInfiniteTime()
{
level.unlimitedGame = invertAndPrint("Unlimited Game", level.unlimitedGame, true); // Use your own way to do the toggle
registerScoreLimit(0, level.unlimitedGame ? 0 : 9999999);
level.unlimitedGame ? maps\mp\gametypes\_globallogic_utils::pauseTimer() : maps\mp\gametypes\_globallogic_utils::resumeTimer();
}
toggleInfiniteTime()
{
level.unlimitedGame = invertAndPrint("Unlimited Game", level.unlimitedGame, true); // Use your own way to do the toggle
registerScoreLimit(0, level.unlimitedGame ? 0 : 9999999);
level.unlimitedGame ? maps\mp\gametypes\_globallogic_utils::pauseTimer() : maps\mp\gametypes\_globallogic_utils::resumeTimer();
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.