Need help with ESP script
Can someone edit this script so it shows the names even without the map open?
Code:
private ["_thisMarker","_thisUnitName","_myBool", "_markerArray"];
waitUntil { alive player };
while { alive player } do {
waitUntil { sleep 1; visibleMap };
while { visibleMap } do {
_markerArray = [];
{
if ( side _x == side player ) then {
_thisUnitName = format [ "%1", name _x ];
_thisMarker = createMarkerLocal [ _thisUnitName, getPos _x ];
_thisMarker setMarkerShapeLocal "ICON";
_thisMarker setMarkerTypeLocal "dot";
_thisMarker setMarkerTextLocal _thisUnitName;
_thisMarker setMarkerColorLocal "ColorBlue";
_markerArray set [ count _markerArray, _thisUnitName ];
};
} forEach playableUnits;
sleep 5;
{ deleteMarkerLocal _x; } forEach _markerArray;
};
};
This is only for an map, I tested it with my edits in DayZ SA and does not work
This is for dayz mod i believe
Have you got somthing like it for the dayz mod that will work?