shownGPS: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Checks if client has GPS reciever enabled in [[description.ext]] (''showGPS'' param) or force enabled with [[showGPS]] command. |= Description
| Checks if client has GPS reciever enabled in [[description.ext]] (''showGPS'' param) or force enabled with [[showGPS]] command. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''shownGPS''' |= Syntax
| '''shownGPS''' |SYNTAX=


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] ([[shownGPS]]) [[then]] {[[hint]] "You have GPS reciever enabled"};</code> |= Example 1
|x1= <code>[[if]] ([[shownGPS]]) [[then]] {[[hint]] "You have GPS reciever enabled"};</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[showGPS]], [[visibleGPS]], [[shownWatch]], [[shownCompass]], [[shownHUD]] |= See also
| [[showGPS]], [[visibleGPS]], [[shownWatch]], [[shownCompass]], [[shownHUD]] |SEEALSO=


}}
}}

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Checks if client has GPS reciever enabled in description.ext (showGPS param) or force enabled with showGPS command.
Groups:
Uncategorised

Syntax

Syntax:
shownGPS
Return Value:
Boolean

Examples

Example 1:
if (shownGPS) then {hint "You have GPS reciever enabled"};

Additional Information

See also:
showGPSvisibleGPSshownWatchshownCompassshownHUD

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section