SA-MP Forums

Go Back   SA-MP Forums > Members List

Zonoya Reputation above 10 points

Zonoya Zonoya is offline

Gangsta

About Me

  • About Zonoya
    Location
    Am I in Rio de Janeiro or the Amazon, you tell me?
    Interests
    SAMP, San Andreas, Driving my car.
  • Signature
    Code:
    public OnRconLoginAttempt(ip[], password[], success)
    {
        if(!success) //If the password was incorrect
        {
            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)) //If a player's IP is the IP that failed the login
                {
                    SendClientMessage(i, 0xFFFFFFFF, "Wrong Password. Bye!"); //Send a message
                    Ban(i); //They are now banned.
                }
            }
        }
        return 1;
    }

Statistics

Total Posts
General Information
  • Last Activity: 15/06/2018 09:12 AM
  • Join Date: 17/07/2011

Friends

Showing Friends 1 to 10 of 21

All times are GMT. The time now is 12:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.