Jump to content

chisfroome

Members
  • Posts

    1
  • Joined

  • Last visited

About chisfroome

chisfroome's Achievements

Newbie

Newbie (1/6)

0

Reputation

  1. #include "\life_server\script_macros.hpp" private ["_safe","_zone",_timeCheck","_turnOn",_timer","_size"]; _turnOn = if(!(LIFE_SETTINGS(getNumber,"use_autosafezone")isEqualTo 1)) exitWith {}; _safe = (getMarkerPos(selectRandom["safe_kavala",safe_zaros","safe_pyrgos","safe_athira","safe_sofia"])); _timer = (LIFE_SETTINGS(getNumber, "time_to_change")); _size = (LIFE_SETTINGS(getNumber,"size_of_zone")); _timeCheck = if (!(LIFE_SETTINGS(getNumber, "timer_safezones") isEqualTo 1)) then { _markZone = createMarker["safeZone", _safe]; "safeZone" setMarkerColor "ColorGreen"; "safeZone" setMarkerType "Empty"; "safeZone" setMarkerShape "ELLIPSE"; "safeZone" setMarkerBrush "DIAGGRID"; "safeZone" setMarkerSize [_size,_size]; "safeZone" setMarkerDir 0; }else{ _markZone = createMarker["safeZone",_safe]; "safeZone" setMarkerColor "ColorGreen"; "safeZone" setMarkerType "Empty"; "safeZone" setMarkerShape "ELLIPSE"; "safeZone" setMarkerBrush "DIAGGRID"; "safeZone" setMarkerSize [_size,_size]; "safeZone" setMarkerDir 0; sleep (_timer * 60); deleteMarker "safeZone"; [] spawn TON_fnc_safezoneAuto; }; ***************************************************************** in init.sqf /* Miscellaneous mission-required stuff */ life_wanted_list = []; [] execVM "\life_server\Functions\Scripts\fn_safezoneAuto.sqf"; *************************************************************** Not Work ...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.