ANSWER 10 Posted November 26, 2014 I want players to be forbiden(prohibited) to marking on map there are ideas of mine 1.remove all marker by script every 1 sec 2.literally as the title, just make players cant use map marker system 3.ban players who uses marker from server Share this post Link to post Share on other sites
champ-1 40 Posted November 26, 2014 What's the reason for that? You could remove side and global channels so players only can see their own markers. Share this post Link to post Share on other sites
killzone_kid 1326 Posted November 27, 2014 (edited) Try onMapSingleClick {true}; that should disable waypoint creation, not sure about markers, might need more complicating handling. Edited November 27, 2014 by Killzone_Kid Share this post Link to post Share on other sites
jshock 512 Posted November 27, 2014 Concept idea, have a keydown display EH for action ShowMap, then while it is open disbale onMouseDoubleClick (or whatever it is) then re-enable it once the map has been closed. Share this post Link to post Share on other sites
fn_Quiksilver 1633 Posted November 28, 2014 Neat problem OP :) Couldn't get any of the relevant EHs to work sadly (onDoubleClick/onMouseButtonDblClick/etc), or even the onLoad/onUnloads ... So, here is a spawned thread that will block the marker dialog: if (isServer || isDedicated) exitWith {}; [] spawn { private ["_display"]; block_markers = TRUE; disableSerialization; while {block_markers} do { waitUntil {_display = uiNamespace getVariable ["RscDisplayInsertMarker", displayNull]; !isNull _display}; _display closeDisplay 0; }; }; Credit: Tonic. There is a similar code block in his Spyglass anti-hack system (fn_menuCheck), this is just boiled down to simply detect the dialog and close it. Share this post Link to post Share on other sites
ANSWER 10 Posted November 28, 2014 Concept idea, have a keydown display EH for action ShowMap, then while it is open disbale onMouseDoubleClick (or whatever it is) then re-enable it once the map has been closed. that is pretty nice,but could be buggy. ---------- Post added at 07:33 ---------- Previous post was at 07:25 ---------- What's the reason for that? You could remove side and global channels so players only can see their own markers. i need channels for spare to speak because my community teamspeak server is not stable ---------- Post added at 07:37 ---------- Previous post was at 07:33 ---------- Neat problem OP :)Couldn't get any of the relevant EHs to work sadly (onDoubleClick/onMouseButtonDblClick/etc), or even the onLoad/onUnloads ... So, here is a spawned thread that will block the marker dialog: if (isServer || isDedicated) exitWith {}; [] spawn { private ["_display"]; block_markers = TRUE; disableSerialization; while {block_markers} do { waitUntil {_display = uiNamespace getVariable ["RscDisplayInsertMarker", displayNull]; !isNull _display}; _display closeDisplay 0; }; }; Credit: Tonic. There is a similar code block in his Spyglass anti-hack system (fn_menuCheck), this is just boiled down to simply detect the dialog and close it. hm.. ok i'll check and make a use of it later thank you Share this post Link to post Share on other sites