Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Draw player markers when map is open
- (findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw", {
- if (isNull (findDisplay 12 displayCtrl 51)) exitWith {};
- // Get icon information
- icon = getText (configFile >> "CfgVehicles" >> (typeOf _x) >> "icon");
- title = "Armed Transport";
- color = [1.0, 0.20, 0.20, 0.9];
- // Draw Icon
- _this select 0 drawIcon [
- icon,
- color,
- position _x,
- 21,
- 21,
- direction _x,
- title,
- 1,
- 0.030,
- "TahomaB",
- "right"
- ];
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement