Files
armatak/addons/main/functions/fn_init.sqf
2024-07-26 03:01:37 -03:00

22 lines
392 B
Plaintext

if ((!isServer) && (player != player)) then {
waitUntil {
player == player
};
};
if (isDedicated) exitWith {};
if (player != player) then {
waitUntil {
player == player
};
};
{
[{if (_x getVariable "_atak_uid" == "") then {
[_x] call armatak_fnc_postGeoObject;
} else {
[_x] call armatak_fnc_putGeoObject;
}},0,[]] call CBA_fnc_addPerFrameHandler;
} forEach playableUnits;