Created
January 7, 2017 23:41
-
-
Save headswe/4564e8f9eae4b480d19c4b2e44920cf7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
he_fnc_makeMarker = { | |
if(!isServer) exitWith {}; | |
params ["_pos","_text","_color","_icon"]; | |
_veh = "Helper_Base_F" createVehicle _pos; | |
_veh setPosATL _pos; | |
_veh setVariable ["Text",_text,true]; | |
if(!isNil "_color") then {_veh setVariable ["Color",_color]}; | |
if(!isNil "_icon") then {_veh setVariable ["Icon",Icon]}; | |
[_veh,[],true] remoteExec ["TMF_spectator_fnc_objectiveModule",0,true]; | |
}; | |
[getpos player,"Im a player",[0,1,0,1],"\A3\ui_f\data\map\markers\nato\b_unknown.paa"] call he_fnc_makeMarker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment