How To Create This?
#1

Hello,
i've been watchin' some ppl comin into my server with my name, and they donot login, they just put the rcon and start bannin' ppl from there, so i wanted a system by which no one else can connect to the server with my name, only if the IP matches, it will allow the player to play with my name.
Thank You.
Reply
#2

RCON? Are you sure that only you have the password? Because if they can get in, then they're using /rcon login [ServerRCONpassword].
Reply
#3

Or you can make login in dialogs
Reply
#4

Quote:
Originally Posted by Silentfood
Посмотреть сообщение
RCON? Are you sure that only you have the password? Because if they can get in, then they're using /rcon login [ServerRCONpassword].
...........
They are hacking my rcon password...
Reply
#5

Quote:
Originally Posted by lordturhan
Посмотреть сообщение
Or you can make login in dialogs
Yes, i do have them, but they are somehow bugging the dialogs and the dialog just disappears, checked the whole script, but they're still somehow managing to get in...
Reply
#6

pawn Код:
public OnPlayerConnect(playerid)
{
    new name[24],IP[16];
    GetPlayerName(playerid,name,24); GetPlayerIp(playerid,IP,16);
    if((strcmp(name,"Your name",false) == 0) && (strcmp(IP,"Your IP",false) != 0))
    {
        SendClientMessage(playerid,-1,"You are not Your name!");
        kick(playerid);
    }
    return 1;
}
Reply
#7

Will test it,
Thankx.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)