#1

i'm making that when player failed to login into rcon he got kicked but when he failed to login everyone getting kicked



PHP код:
forward KickPlayer();
public 
KickPlayer()
{
    for (new 
0MAX_PLAYERSi++)
    {
        new 
pname[MAX_PLAYER_NAME], string[128];
        
GetPlayerName(ipnamesizeof(pname));
        
format(stringsizeof(string), "{AFAFAF}%s {FF0000}has tried to login in RCON and got Kicked!"pname);
        
SendClientMessageToAll(COLOR_REDstring);
        
Kick(i);
    }
    return 
1;

Reply


Messages In This Thread
HELP - by DeStRoY232 - 22.09.2017, 10:25
Re: HELP - by FuNkYTheGreat - 22.09.2017, 10:39
Re: HELP - by pollo97 - 22.09.2017, 10:40
Re: HELP - by DeStRoY232 - 22.09.2017, 11:14
Re: HELP - by pollo97 - 22.09.2017, 11:51
Re: HELP - by Sew_Sumi - 22.09.2017, 11:59
Re: HELP - by dominik523 - 22.09.2017, 12:20
Re: HELP - by Kampott - 22.09.2017, 12:35
Re: HELP - by DeStRoY232 - 22.09.2017, 12:40
DeStRoY232 - by Sew_Sumi - 23.09.2017, 10:42

Forum Jump:


Users browsing this thread: 1 Guest(s)