POLPOX
Even if you're aiming down a sight (which is usually you can't open the compass), shownCompass returns true if you press the compass key (K).
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Checks if client has Compass enabled in description.ext (showCompass param) or force enabled with showCompass command.
shownCompass
Returns: Boolean
if (shownCompass) then {hint "You have Compass enabled"};
showCompass · visibleCompass · shownGPS · shownWatch · shownHUD
Even if you're aiming down a sight (which is usually you can't open the compass), shownCompass returns true if you press the compass key (K).