Add late load support.
This commit is contained in:
		
							parent
							
								
									3d9ba31efe
								
							
						
					
					
						commit
						f82c22a160
					
				@ -80,6 +80,15 @@ public void OnPluginStart()
 | 
			
		||||
 | 
			
		||||
	RegConsoleCmd("sm_restrictions", Command_DisplayRestrictions);
 | 
			
		||||
	RegConsoleCmd("sm_status",       Command_DisplayStatus);
 | 
			
		||||
 | 
			
		||||
	for (int client = 1; client <= MaxClients; client++)
 | 
			
		||||
	{
 | 
			
		||||
		if (IsClientConnected(client)
 | 
			
		||||
			OnClientPutInServer(client);
 | 
			
		||||
 | 
			
		||||
		if (AreClientCookiesCached(client)
 | 
			
		||||
			OnClientCookiesCached(client);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//----------------------------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user