Generalcarver
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")
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Shows or hides the GPS receiver on the map screen, if enabled for the mission and you possess the item. (default false).
Note
This command does nothing in Arma 3. Use the command openGPS that is available since v2.04.
showGPS show
Parameters:
show: BooleanReturns: Nothing
showGPS true;
openGPS · shownGPS · visibleGPS · showCompass · showRadio · showWatch · showPad
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")
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).