Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Disable map cursor grid coords/elevation, etc.
- []spawn
- {
- waitUntil { !isNull ( findDisplay 12 ) };
- disableSerialization;
- ( findDisplay 12 displayCtrl 51 ) ctrlMapCursor [ "Track" , "Arrow" ];
- _ctrls = [];
- _ctrls pushBack 1202;
- _ctrls pushBack 1204;
- _ctrls pushBack 1201;
- _ctrls pushBack 1205;
- (findDisplay 12 displayCtrl 51) ctrlRemoveAllEventHandlers "MouseMoving";
- if ( count _ctrls > 0 ) then
- {
- _display = findDisplay 12;
- {
- _ctrl = _display displayCtrl _x;
- _ctrl ctrlEnable false;
- _ctrl ctrlSetTextColor [ 0 , 0 , 0 , 0 ];
- _ctrl ctrlSetToolTip "";
- _ctrl ctrlCommit 0;
- }forEach _ctrls;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement