Duty Mod system
#1

Well I have this code:
pawn Код:
dcmd_adminduty(playerid,params[])
{
    #pragma unused params
    if (AccInfo[playerid][Level] >= 2)
    {
        if(AccInfo[playerid][OnDuty] == 0)
        {
            AccInfo[playerid][OnDuty] = 1;
            SetPlayerHealth(playerid,1000000);
            GivePlayerWeapon(playerid,38,-500000);
            SetPlayerColor(playerid, pink);
            SetPlayerSkin(playerid, 217);

   new string[128];
            format(string,sizeof(string),"|- Administrator \"%s\" is now on Admin duty mode", pName(playerid));
            return SendClientMessageToAll(blue, string);
        }
  else
        {
            AccInfo[playerid][OnDuty] = 0;
            SetPlayerHealth(playerid,-0);
            return SendClientMessage(playerid,orange,"You aren't on Admin duty mode");
        }
    }
    return ErrorMessages(playerid, 5);
}
The first thing that I want is that the Admin won't be banned for the Anti-Cheat-System.
Because the minigun isn't allowed.

I want to do the minigun allowed for Admins On duty mode.

How I can do it?

Please tell me!

+rep!
Reply


Messages In This Thread
Duty Mod system - by ThePhenix - 21.08.2012, 21:26
Re: Duty Mod system - by =WoR=G4M3Ov3r - 21.08.2012, 21:29
Re: Duty Mod system - by ThePhenix - 21.08.2012, 21:32

Forum Jump:


Users browsing this thread: 2 Guest(s)