View Single Post
Cenzuratu
Junior Member
Join Date: Nov 2019
Old 11-23-2019 , 12:24   Re: Advanced Bans Problem
Reply With Quote #4

Quote:
Originally Posted by iceeedr View Post
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) 
It's not working
Cenzuratu is offline