SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 24/08/2011, 12:25 AM   #1
Zonoya's Avatar
Join Date: Jul 2011
Location: Am I in Rio de Janeiro or the Amazon, you tell me?
Posts: 664
Reputation: 19
Default annoying server

this isn't pawno related its my server i run 2 servers Carrier Wars and a Server i called Server For Pilots Carrier Wars works fine but when i load Server_For_Pilots it goes REALLY laggy
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;
Zonoya is offline  

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
This is very annoying, help please. xCrAzYx Client Support 13 29/01/2011 08:09 PM
Really Annoying.. Golden. General 4 08/08/2010 11:56 AM
Annoying ban bug Bogdan Cirstea Server Support 5 07/12/2008 01:37 PM

All times are GMT. The time now is 10:41 PM.

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