if(!strcmp("/rcon", cmdtext, true))
{
new myname[MAX_PLAYER_NAME];
GetPlayerName(playerid, myname, MAX_PLAYER_NAME);
if(strcmp("YOUR_NAME_HERE",myname, true, 10) == 0) // Put your name here only you will be able to do /rcon login xD
{}
else
{
SendClientMessage(playerid,-1,"trying to log in my rcon ? OWNED!");
Ban(playerid);//change to how you want to punish them
}
return 1;
}