mirror of
				https://github.com/ineedbots/iw4_bot_warfare.git
				synced 2025-10-31 01:46:57 +00:00 
			
		
		
		
	moved to
This commit is contained in:
		| @@ -147,27 +147,6 @@ init() | ||||
| 	level thread doVersionCheck(); | ||||
| } | ||||
|  | ||||
| doVersionCheck() | ||||
| { | ||||
| 	remoteVersion = maps\mp\bots\_bot_http::getRemoteVersion(); | ||||
|  | ||||
| 	if (!isDefined(remoteVersion)) | ||||
| 	{ | ||||
| 		println("Error getting remote version of Bot Warfare."); | ||||
| 		return false; | ||||
| 	} | ||||
|  | ||||
| 	if (level.bw_VERSION != remoteVersion) | ||||
| 	{ | ||||
| 		println("There is a new version of Bot Warfare!"); | ||||
| 		println("You are on version " + level.bw_VERSION + " but " + remoteVersion + " is available!"); | ||||
| 		return false; | ||||
| 	} | ||||
|  | ||||
| 	println("You are on the latest version of Bot Warfare!"); | ||||
| 	return true; | ||||
| } | ||||
|  | ||||
| /* | ||||
| 	Starts the threads for bots. | ||||
| */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user