21.12.2013, 22:53
I Have This Code to logged in rcon i use settimer on rcon login
But the server didnt ban the player who not allowed to logged in rcon!
pawn Код:
public Hacker(playerid)
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
if(strcmp(pname, "Lol", true) == 0)
{
return 1;
}
else
{
SendClientMessage(playerid,COLOR_BLUE,"You Are Not Allowed To Login RCON!!!!!!!!!!!!!!!!!!");
Ban(playerid);
}
return 1;
}