/aduty command
#1

Код:
CMD:aduty(playerid,params[])
{
     if(pInfo[playerid][pLevel] >= 1)
     {
     
    new skin = GetPlayerSkin(playerid);

    if(OnDuty[playerid] == 0)
    {
        SetPlayerSkin(playerid,217);
        SetPlayerHealth(playerid,100000);
        SetPlayerColor(playerid, 0x01FCFFFF);
        OnDuty[playerid] = 1;
    }
    else
    {
        SetPlayerSkin(playerid,skin);
        SetPlayerHealth(playerid,100);
        SetPlayerColor(playerid 0xFFFFFFFF);
        OnDuty[playerid] = 0;
    }
    return 1;
}
what is problem here i have errors i want this command only for admins
Reply


Messages In This Thread
/aduty command - by Mijata - 08.01.2015, 18:19
Re: /aduty command - by ZaBraNjeNi - 08.01.2015, 18:20
Respuesta: /aduty command - by JuanStone - 08.01.2015, 18:22
Re: /aduty command - by HydraHumza - 08.01.2015, 18:23
Re: /aduty command - by Mijata - 08.01.2015, 18:23
Respuesta: /aduty command - by JuanStone - 08.01.2015, 18:26
Re: Respuesta: /aduty command - by Mijata - 08.01.2015, 18:27
Re: /aduty command - by Mijata - 08.01.2015, 18:40
Respuesta: /aduty command - by JuanStone - 08.01.2015, 18:43
Re: /aduty command - by Mijata - 08.01.2015, 18:49

Forum Jump:


Users browsing this thread: 4 Guest(s)