08.01.2015, 18:19
Код:
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; }