HELLPPP!! Player Not Banned!!
#5

hey bro use this ,is simple you can find it at samp wiki.....
this will ban parament the players who try to open rcon password...


pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!success) //if he type wrong password
    {
        printf("FAILED RCON LOGIN BY IP %s USING PASSWORD %s",ip, password);
        new pip[16];
        for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players
        {
            GetPlayerIp(i, pip, sizeof(pip));
            if(!strcmp(ip, pip, true))
            {
                SendClientMessage(i, 0xFFFFFFFF, "You have been parament banned"); //type what message you want
                Ban(i); //this will ban him parament
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
HELLPPP!! Player Not Banned!! - by AnonymouseSAMP - 21.12.2013, 22:53
Re: HELLPPP!! Player Not Banned!! - by Hansrutger - 21.12.2013, 23:40
Re: HELLPPP!! Player Not Banned!! - by Excelize - 22.12.2013, 02:30
Re: HELLPPP!! Player Not Banned!! - by newbie scripter - 22.12.2013, 02:42
Re: HELLPPP!! Player Not Banned!! - by iThePunisher - 22.12.2013, 06:34

Forum Jump:


Users browsing this thread: 1 Guest(s)