{"name":"showGPS","title":"showGPS","type":"command","url":"https://community.bistudio.com/wiki/showGPS","revid":379474,"updated":"2026-10-31T00:11:20Z","groups":["Interaction"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","description":"Shows or hides the GPS receiver on the map screen, if enabled for the mission and you possess the item. (default false).\n\n> [!NOTE]\n> This command does nothing in Arma 3. Use the command openGPS that is available since v2.04.","syntaxes":[{"syntax":"showGPS show","params":[{"name":"show","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"show"}}],"examples":[{"code":["showGPS true;"]}],"see_also":["openGPS","shownGPS","visibleGPS","showCompass","showRadio","showWatch","showPad"],"notes":[{"user":"Generalcarver","date":"2009-08-16T00:00:00Z","text":"In Arma 2, the GPS is now an inventory item. Class path is CfgWeapons->ItemGPS. Use the commands addWeapon and removeWeapon to add or remove it from a unit's inventory. (example: player addweapon \"ItemGPS\")"},{"user":"Galzohar","date":"2010-06-14T00:00:00Z","text":"In Arma 2 GPS is also an item, so will not be removed by removeAllWeapons, even though it can be removed by removeWeapon and added by addWeapon. To remove all items use the removeAllItems command (though this will also remove basic items such as map and compass)."}]}