maybe needed check
This commit is contained in:
		
							parent
							
								
									6b3d5a615b
								
							
						
					
					
						commit
						9be3bbaa76
					
				@ -78,7 +78,10 @@ public Action time_query_activity(Handle timer, any data)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
public void OnPluginStart()
 | 
					public void OnPluginStart()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    Database.Connect(SQL_OnDatabaseConnect, "unloze_playtimestats");
 | 
					    if (!g_hDatabase)
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        Database.Connect(SQL_OnDatabaseConnect, "unloze_playtimestats");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    RegConsoleCmd("sm_playtime", Command_Time, "retreives total connection time on all connected servers");
 | 
					    RegConsoleCmd("sm_playtime", Command_Time, "retreives total connection time on all connected servers");
 | 
				
			||||||
    RegConsoleCmd("sm_topplaytime", Command_TopTime, "retreives top 12 playtime highscores on all connected servers");
 | 
					    RegConsoleCmd("sm_topplaytime", Command_TopTime, "retreives top 12 playtime highscores on all connected servers");
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user