How to protect my server samp????
#8

If not there are some simple script for rcon attempt I found:

Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players
    {
        if(adminlevel[i] >  3) //If the admin level is greater than 3 then 
        {
            if(!success)
            {
                printf("FAILED RCON LOGIN BY IP %s USING PASSWORD %s",ip, password);
            }
            else
            {
                printf("IP %s logged in to rcon successfully using password %s",ip, password);
            }
        }
        else
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "Only Administrators may use RCON.");
        }
    }
    return 1;
}
If a player who is not an admin try to use /rcon, then kick/ban/banip him. I prefer banip+banname . Hope someone give you a script for this.
Reply


Messages In This Thread
How to protect my server samp???? - by Mijata - 16.03.2014, 11:53
Re: How to protect my server samp???? - by ChristianIvann09 - 16.03.2014, 11:56
Re: How to protect my server samp???? - by Mijata - 16.03.2014, 11:58
Re: How to protect my server samp???? - by GalaxyHostFree - 16.03.2014, 12:18
Re: How to protect my server samp???? - by Mijata - 16.03.2014, 12:29
Re: How to protect my server samp???? - by GalaxyHostFree - 16.03.2014, 12:33
Re: How to protect my server samp???? - by Mijata - 16.03.2014, 12:52
Re: How to protect my server samp???? - by GalaxyHostFree - 16.03.2014, 12:59
Re: How to protect my server samp???? - by Mijata - 16.03.2014, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)