ARMA 3 | Altis Life | How to remove open cop slots



When you start playing Altis life, you will find that the first 4 cop slots are open to the public, you will need to make the following changes to close them.

  • Log in to your control panel
  • Head to Mpmissions and inside your mission file locate core/fn_initCop.sqf
  • Press the pencil next to this file to edit it

Press control + F and look for the following code:

if (!(str(player) in ["cop_1","cop_2","cop_3","cop_4"])) then {
    if ((FETCH_CONST(life_coplevel) isEqualTo 0) && (FETCH_CONST(life_adminlevel) isEqualTo 0)) then {
        ["NotWhitelisted",false,true] call BIS_fnc_endMission;
        sleep 35;
    };
};

Change this code to:

if (!(str(player) in ["cop_9999"])) then {
    if ((FETCH_CONST(life_coplevel) isEqualTo 0) && (FETCH_CONST(life_adminlevel) isEqualTo 0)) then {
        ["NotWhitelisted",false,true] call BIS_fnc_endMission;
        sleep 35;
    };
};


Press save then restart the server, this can also be done via FTP.



Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect ARMA 3 server today! https://pingperfect.com/gameservers/arma-3-game-server-hosting-rental.php
  • altislife, scripting, arma3
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

ARMA 3 | How to Install Mods (Steam Workshop)

Adding mods to Arma 3: Adding mods such as Epoch and Exile can be done easily via our mod...

ARMA 3 | InfiSTAR

InfiSTAR is the most commonly used admin tool and anti hack for Arma 2 and 3.The script is not...

ARMA 3 | Altis Life | Adding safe/no fire zones

Having trouble in certain trading areas, or just want to give your players a rest?Add this simple...

ARMA 3 | Altis Life | Life Dogs

If you wish to add a dog to your Arma 3 server you will first need to add an AI, there is an...

ARMA 3 | Altis Life | Changing Prices

To change the prices of things in Altis Life you need to do the following;STOP the server and...