19.02.2011, 03:04
pawn Код:
if (strcmp(cmdtext, "/banbot", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,0xff0000ff, "----------------------------------");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Banning the bot simulation successful, If the bot still talking unloadhim with the rcon.");
SendClientMessageToAll(COLOR_RED,"Administrator has banned Jeremy (Reason: Ban Evading)");
SendClientMessageToAll(COLOR_GREY, "Jeremy has left the server (Kicked).");
}
else
{
SendClientMeesage(playerid,COLOR_RED,"You're not authorized!");
}
return 1;
}