View Single Post
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 11-23-2019 , 08:44   Re: Advanced Bans Problem
Reply With Quote #3

Remove dproto from server.

PHP Code:
if( !IsValidAuthid(target_authid) )
    {
        
console_print(client"[AdvancedBans] %L"client"AB_NOT_AUTHORIZED");
        return 
PLUGIN_HANDLED;
    } 
PHP Code:
#define REGEX_STEAMID_PATTERN "^^STEAM_0:(0|1):\d+$"
#define IsValidAuthid(%1) (regex_match_c(%1, g_SteamID_pattern, g_regex_return) > 0) 
__________________
iceeedr is offline
Send a message via Skype™ to iceeedr