replaced connect extension for playermanager since it verifies now if players are nosteam
This commit is contained in:
		
							parent
							
								
									63b8f9560b
								
							
						
					
					
						commit
						4a69445495
					
				@ -13,7 +13,7 @@
 | 
				
			|||||||
#include <cstrike>
 | 
					#include <cstrike>
 | 
				
			||||||
#include <sdktools>
 | 
					#include <sdktools>
 | 
				
			||||||
#include <sdkhooks>
 | 
					#include <sdkhooks>
 | 
				
			||||||
#include <connect>
 | 
					#include <PlayerManager>
 | 
				
			||||||
#include <outputinfo>
 | 
					#include <outputinfo>
 | 
				
			||||||
#pragma newdecls required
 | 
					#pragma newdecls required
 | 
				
			||||||
char g_cMapname[g_dLength];
 | 
					char g_cMapname[g_dLength];
 | 
				
			||||||
@ -733,7 +733,7 @@ public void unloze_zoneLeave(int client, char[] zone)
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        if ((StrContains(zone, "ZONE_PREFIX_START") > -1) || StrEqual(zone, g_cSpecialMapStart))
 | 
					        if ((StrContains(zone, "ZONE_PREFIX_START") > -1) || StrEqual(zone, g_cSpecialMapStart))
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (!SteamClientAuthenticated(g_csSID[client]))
 | 
					            if (!PM_IsPlayerSteam(client))
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                PrintToChat(client, "Not starting timer due to being listed as nosteamer");
 | 
					                PrintToChat(client, "Not starting timer due to being listed as nosteamer");
 | 
				
			||||||
                return;
 | 
					                return;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user