heyho,
wir haben momentan die 4.0 version und wir haben 4 Copslots die offen sind also kann jeder der nicht gewhitelistet ist joinen. Ich habe auch schon den Namen in der initcop geändert aber dann können die Cops garnichtmehr spawnen.
Hier mal die fn_initCop.sqf
Spoiler anzeigen
#include <macro.h>
/*
File: fn_initCop.sqf
Author: Bryan "Tonic" Boardwine
Description:
Cop Initialization file.
*/
private["_end"];
player addRating 9999999;
waitUntil {!(isNull (findDisplay 46))};
_end = false;
if(life_blacklisted) exitWith
{
["Blacklisted",false,true] call BIS_fnc_endMission;
sleep 30;
};
if(!(str(player) in ["cop_1","cop_2","cop_3","cop_4"])) then {
if((FETCH_CONST(life_coplevel) == 0) && (FETCH_CONST(life_adminlevel) == 0)) then {
["NotWhitelisted",false,true] call BIS_fnc_endMission;
sleep 35;
};
};
player setVariable["rank",(FETCH_CONST(life_coplevel)),true];
[] call life_fnc_spawnMenu;
waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.
[player, uniform player] call life_fnc_equipGear;