{"name":"shownGPS","operator":null,"title":"shownGPS","type":"command","url":"https://community.bistudio.com/wiki/shownGPS","revid":363942,"updated":"2024-04-26T21:33:55Z","groups":["Interaction"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Checks if client has GPS receiver enabled in description.ext (*showGPS* param) or force enabled with showGPS command.","syntaxes":[{"syntax":"shownGPS","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nif (shownGPS) then { hint \"You have the GPS receiver enabled\" };\n```","code":["if (shownGPS) then { hint \"You have the GPS receiver enabled\" };"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["showGPS","visibleGPS","openGPS","shownWatch","shownCompass","shownHUD"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Interaction","Introduced with Operation Flashpoint version 1.00","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Take On Helicopters: Scripting Commands"]}