biske028 1 Posted March 12, 2013 I have problem with Markers in game, i add this to marker.sqf: waituntil {(alive player)}; _unit = leader player; _nameP = name _unit; _markerobjp = createMarkerLocal [_namep,[0,0]]; _markerobjp setMarkerShapeLocal "ICON"; _markerobjp setMarkerTypeLocal "mil_dot"; _markerobjp setMarkerColorLocal "ColorGreen"; _markerobjp setMarkerTextLocal _nameP; _markerobjp setMarkerSizeLocal [1,1]; while {alive _unit} do { _markerobjp setmarkerdirLocal (getdir _unit); _markerobjp setMarkerPosLocal (getPos _unit); _markerobjp setMarkerTextLocal _nameP; sleep 1; }; and this in init.sqf: nul=[this] execVM "marker.sqf"; But there is a problem, players in game cant see teammates markers on map. I can only see my marker. How to solve that? Share this post Link to post Share on other sites
mikie boy 18 Posted March 12, 2013 you are creating the marker locally - they wont see it... example... if (!isDedicated) then { [] spawn { _caller = name player; _uid = getPlayerUID player; _storedvar = _uid; _marker = createMarker [_storedvar, (getPosATL (vehicle player))]; _marker setMarkerText _caller; //can change this to _caller - shows players name _marker setMarkerType "n_inf"; _marker setMarkerColor "ColorBlue"; while {true} do { _marker setMarkerPos (getPosATL (vehicle player)); sleep 5; }; deletemarker _marker; }; }; Share this post Link to post Share on other sites