Admin Protection.
#6

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;
    }
sorry for indentation, you can base on that
Reply


Messages In This Thread
[UNSOLVED] NEED QUICK HELP Admin Protection. - by Alex_Obando - 18.02.2011, 21:04
Re: Admin Protection. - by MBX97 - 18.02.2011, 21:12
Respuesta: Admin Protection. - by Alex_Obando - 18.02.2011, 21:21
Respuesta: Admin Protection. - by Alex_Obando - 19.02.2011, 02:20
Re: Respuesta: Admin Protection. - by Hal - 19.02.2011, 02:23
Re: Admin Protection. - by Marricio - 19.02.2011, 03:04
Respuesta: Admin Protection. - by Alex_Obando - 19.02.2011, 03:30
Respuesta: Admin Protection. - by Alex_Obando - 19.02.2011, 13:22

Forum Jump:


Users browsing this thread: 1 Guest(s)