params ["_destinationPlayer"];

_markerData = [];

hint format["Your map is being copied by %1", name _destinationPlayer];

{
	_marker = toArray _x;
	_marker resize 15;
	if ( toString _marker == "_USER_DEFINED #" ) then {
		_marker = _x call milsim_fnc_mapMarkerToString;
		_markerData pushBack _marker;
	};
} forEach allMapMarkers;

[_markerData] remoteExecCall ["milsim_fnc_loadMapMarkers",_destinationPlayer];
