Posts: 814
	Threads: 190
	Joined: Feb 2016
	
Reputation: 
0
	 
	
	
		Hello, in my gamemode i have include "Maps" and i created it in the includes folder and inside it, it has dynamic objects i can count them onside the inc but when i try to add the count code to the gamemode it doesn't count why?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 6,242
	Threads: 8
	Joined: Jun 2008
	
	
 
	
	
		Show how you've included it in the include, but cannot get it into the gamemode...
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 6,242
	Threads: 8
	Joined: Jun 2008
	
	
 
	
	
		Show code, or no help... Simple.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 6,242
	Threads: 8
	Joined: Jun 2008
	
	
 
	
	
		
Quote:
| 
					Originally Posted by Loinal  code of what? | 
 Code of how you expect to have the objects counted... Stop posting up threads with little-no attempt to even make it easy for people to help you...
	
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 27
	Threads: 1
	Joined: Feb 2017
	
	
 
	
	
		You Cant Count maps like this, you can create function which will,  read CreateObjects And Coords from file and then loads it.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 6,242
	Threads: 8
	Joined: Jun 2008
	
	
 
	
	
		
Quote:
| 
					Originally Posted by Loinal  
PHP Code: 
format(string,sizeof(string),"** 0,4Loaded %d objects from the file Maps", CountDynamicObjects()); 
 Ok i have that on the gamemode when the bots join the channel | 
 print that to the log to see if it's shown. It could just be that it's not fully 'in' when it tries showing it.