|20/12/2011, 03:25 AM||#1|
Join Date: Apr 2010
Location: New Delhi,India
Game Mode change Bug help![rep+]
I have a TDM server , My script restart's the server/change's the GM after every 30 mins! It give's BattleWin message's and save score's! Everything use to work well. But now if noone logs into the server when a Round start's of 30 minutes. The server doesnt restart automatically! It works when i go InGame and check everything. But when there is noone in the server it doesnt do anything! I've set lot of timers to Change the game mode after 30 Minutes if one timer doesnt change it. But no helps nothing works if no one in the server.
I've used both SendRconCommand("changemode CWLS") as well as GameModeExit() , I dont know what is wrong. This function use to work well! Please help
|20/12/2011, 03:44 AM||#2|
Join Date: Jul 2010
Location: New Zealand
Re: Game Mode change Bug help![rep+]
Take SetTimer("Changemode", 10 * 1000 , 0); out of the loop. If you call it there, it will only work if a player is connected. Also, You don't need to set a timer. Just save all the data, then call the Changemode function.
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to change game-mode and add admins commands to samp||Polomikey||Server Support||16||03/12/2011 07:40 PM|
|Server Mode Change Help!||§ñ†¶e®ÐµÐe||Scripting Help||4||20/11/2011 01:04 PM|
|How do I change game-mode name?||Andy_McKinley||Help Archive||1||06/11/2009 10:25 AM|