shownGPS: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
mNo edit summary
Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] ([[shownGPS]]) [[then]] [[hint]] {"You have a GPS reciever"};</code> |= Example 1
|x1= <code>[[if]] ([[shownGPS]]) [[then]] {[[hint]] "You have a GPS reciever"};</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:29, 28 May 2014

Hover & click on the images for description

Description

Description:
Check if player has GPS reciever enabled.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = shownGPS
Return Value:
Boolean

Examples

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

Additional Information

See also:
showGPSvisibleGPSshownWatchshownCompass

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