Advertisement
Guest User

Untitled

a guest
Jun 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. // Draw player markers when map is open
  2. (findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw", {
  3. if (isNull (findDisplay 12 displayCtrl 51)) exitWith {};
  4.  
  5. // Get icon information
  6. icon = getText (configFile >> "CfgVehicles" >> (typeOf _x) >> "icon");
  7. title = "Armed Transport";
  8. color = [1.0, 0.20, 0.20, 0.9];
  9.  
  10. // Draw Icon
  11. _this select 0 drawIcon [
  12. icon,
  13. color,
  14. position _x,
  15. 21,
  16. 21,
  17. direction _x,
  18. title,
  19. 1,
  20. 0.030,
  21. "TahomaB",
  22. "right"
  23. ];
  24. }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement