icdb

[ArmA3] Prevent drawing on the map (polyline)

May 29th, 2020
8,881
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.29 KB | None | 0 0
  1. // prevent drawing new lines
  2. addMissionEventHandler["Draw3D",{
  3.   {
  4.     if (markerShape _x=="POLYLINE") then {
  5.       deleteMarker _x;
  6.     }
  7.   } forEach allMapMarkers;
  8. }];
  9.  
  10. // delete current ones
  11. {
  12.   if (markerShape _x=="POLYLINE") then {
  13.     deleteMarker _x;
  14.   }
  15. } forEach allMapMarkers;
Advertisement
Comments
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment