Merge pull request #251 from WPMGPRoSToTeMa/authconsoleprintfixes
Replace console_print by engclient_print to support connecting players (bug 6372)
This commit is contained in:
		@@ -773,7 +773,7 @@ accessUser(id, name[] = "")
 | 
				
			|||||||
	
 | 
						
 | 
				
			||||||
	if (result & 1)
 | 
						if (result & 1)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		console_print(id, "* %L", id, "INV_PAS")
 | 
							engclient_print(id, engprint_console, "* %L", id, "INV_PAS")
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	if (result & 2)
 | 
						if (result & 2)
 | 
				
			||||||
@@ -784,12 +784,12 @@ accessUser(id, name[] = "")
 | 
				
			|||||||
	
 | 
						
 | 
				
			||||||
	if (result & 4)
 | 
						if (result & 4)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		console_print(id, "* %L", id, "PAS_ACC")
 | 
							engclient_print(id, engprint_console, "* %L", id, "PAS_ACC")
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	if (result & 8)
 | 
						if (result & 8)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		console_print(id, "* %L", id, "PRIV_SET")
 | 
							engclient_print(id, engprint_console, "* %L", id, "PRIV_SET")
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	return PLUGIN_CONTINUE
 | 
						return PLUGIN_CONTINUE
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user