NoAdminTools: more fixes
This commit is contained in:
		
							parent
							
								
									c76fd07291
								
							
						
					
					
						commit
						de3bd25cb8
					
				@ -92,7 +92,7 @@ public void OnClientDisconnect(int client)
 | 
			
		||||
	CheckRatio();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
public void OnClientConnected(int client)
 | 
			
		||||
public void OnClientPutInServer(int client)
 | 
			
		||||
{
 | 
			
		||||
	CheckRatio();
 | 
			
		||||
}
 | 
			
		||||
@ -181,7 +181,7 @@ public void CheckRatio()
 | 
			
		||||
			iSelfExtendsPlayers++;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	iPlayersNeeded = RoundToFloor(float(iSelfExtendsPlayers) * g_fSelfExtendsRatio);
 | 
			
		||||
	iPlayersNeeded = RoundToFloor(float(iPlayers) * g_fSelfExtendsRatio);
 | 
			
		||||
 | 
			
		||||
	if(iSelfExtendsPlayers >= iPlayersNeeded)
 | 
			
		||||
	{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user