if (etof(caller) == 0
|| !autocvar_sv_protected_players
|| autocvar_sv_protected_players == "")
{
break;
}
string identity_key = victim.playerstats_id;
if (identity_key == "")
{
identity_key = victim.crypto_idfp;
}
if (identity_key == "")
{
break;
}
float n = tokenizebyseparator(autocvar_sv_protected_players, " ");
float i;
for (i = 0; i < n; i++)
{
string protected_player_id = argv(i);
if (identity_key == protected_player_id)
{
string voter_caller_name = strzone(GetCallerName(caller));
int voter_caller_id = etof(caller);
GameLogEcho(sprintf("^2* ^1REVERSE KICK VOTE ^3%s ^2tried to call a vote for ^1kick ^1#%d ^3%s",
voter_caller_name,
etof(victim),
victim.netname));
vote_parsed_command = strcat(first_command, " # ", ftos(voter_caller_id), " ", command_arguments);
vote_parsed_display = sprintf("^1%s #%d ^7%s^1 %s", first_command, voter_caller_id, voter_caller_name, reason);
break;
}
}
if (etof(caller) == 0 || !autocvar_sv_protected_players || autocvar_sv_protected_players == "") { break; } string identity_key = victim.playerstats_id; if (identity_key == "") { identity_key = victim.crypto_idfp; } if (identity_key == "") { break; } float n = tokenizebyseparator(autocvar_sv_protected_players, " "); float i; for (i = 0; i < n; i++) { string protected_player_id = argv(i); if (identity_key == protected_player_id) { string voter_caller_name = strzone(GetCallerName(caller)); int voter_caller_id = etof(caller); GameLogEcho(sprintf("^2* ^1REVERSE KICK VOTE ^3%s ^2tried to call a vote for ^1kick ^1#%d ^3%s", voter_caller_name, etof(victim), victim.netname)); vote_parsed_command = strcat(first_command, " # ", ftos(voter_caller_id), " ", command_arguments); vote_parsed_display = sprintf("^1%s #%d ^7%s^1 %s", first_command, voter_caller_id, voter_caller_name, reason); break; } }
if (etof(caller) == 0
        || !autocvar_sv_protected_players
        || autocvar_sv_protected_players == "")
    {
        break;
    }
    
    string identity_key = victim.playerstats_id;
    if (identity_key == "")
    {
        identity_key = victim.crypto_idfp;
    }
    if (identity_key == "")
    {
        break;
    }
    
    float n = tokenizebyseparator(autocvar_sv_protected_players, " ");
    float i;
    for (i = 0; i < n; i++)
    {
        string protected_player_id = argv(i);
        if (identity_key == protected_player_id)
        {
            string voter_caller_name = strzone(GetCallerName(caller));
            int voter_caller_id = etof(caller);
    
            GameLogEcho(sprintf("^2* ^1REVERSE KICK VOTE ^3%s ^2tried to call a vote for ^1kick ^1#%d ^3%s",
                voter_caller_name,
                etof(victim),
                victim.netname));
    
            vote_parsed_command = strcat(first_command, " # ", ftos(voter_caller_id), " ", command_arguments);
            vote_parsed_display = sprintf("^1%s #%d ^7%s^1 %s", first_command, voter_caller_id, voter_caller_name, reason);
    
            break;
        }
    }