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;
};
};
// Désactiver le canal "camp"
[] call BIS_fnc_setChannelOwner;
// Désactiver les slots publics des policiers et des médecins
west setVariable ["BIS_enablePolicemen", false];
west setVariable ["BIS_enableMedics", false];
salut oups desole j ai pas vu ton message j ai reussi pour les canaux et non toujours pas pour les slots publiques
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;
};
};