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

  • altislife, scripting, arma3, ARMA 3 Altis Life How to remove open cop slots, How to remove open cop slots, ARMA 3 How to remove open cop slots, Altis Life How to remove open cop slots, Arma 3, ARMA 3, arma 3, arma 3 altis life, Arma 3 Altis Life
  • 2
  • Print

    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

    Order now - Use code KNOWLEDGE15 for 15% off

    Was this answer helpful?

    « Back