Fixed bunch of includes and a warnings Added ip addresses for admins to status KnifeAlert prints to everyone now if someone gets infected due to a knifed zombie Fixed WeaponCleaner not registering weapons if somebody disconnects Refactored custom-chatcolors to new syntax, added autoreplace and some fixes Added GFLClan.ru support to immunityreservedslots added nominate_removemap to mapchooser_extended and fixed a bug for recently played maps
		
			
				
	
	
		
			42 lines
		
	
	
		
			847 B
		
	
	
	
		
			SourcePawn
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			847 B
		
	
	
	
		
			SourcePawn
		
	
	
	
	
	
| #if defined _Connect_Included
 | |
|  #endinput
 | |
| #endif
 | |
| #define _Connect_Included
 | |
| 
 | |
| enum EConnect
 | |
| {
 | |
| 	k_OnClientPreConnectEx_Reject = 0,
 | |
| 	k_OnClientPreConnectEx_Accept = 1,
 | |
| 	k_OnClientPreConnectEx_Async = -1
 | |
| };
 | |
| 
 | |
| forward EConnect OnClientPreConnectEx(const char[] sName, char sPassword[255], const char[] sIP, const char[] sSteam32ID, char sRejectReason[255]);
 | |
| 
 | |
| native bool ClientPreConnectEx(const char[] sSteam32ID, EConnect RetVal, char sRejectReason[255]);
 | |
| 
 | |
| /**
 | |
|  * Do not edit below this line!
 | |
|  */
 | |
| public Extension __ext_connect =
 | |
| {
 | |
| 	name = "Connect",
 | |
| 	file = "connect.ext",
 | |
| #if defined AUTOLOAD_EXTENSIONS
 | |
| 	autoload = 1,
 | |
| #else
 | |
| 	autoload = 0,
 | |
| #endif
 | |
| #if defined REQUIRE_EXTENSIONS
 | |
| 	required = 1,
 | |
| #else
 | |
| 	required = 0,
 | |
| #endif
 | |
| };
 | |
| 
 | |
| #if !defined REQUIRE_EXTENSIONS
 | |
| public __ext_connect_SetNTVOptional()
 | |
| {
 | |
| 	MarkNativeAsOptional("ClientPreConnectEx");
 | |
| }
 | |
| #endif
 |