shownGPS: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Check if player has GPS reciever enabled. |= Description
| Checks if client has GPS reciever enabled in [[description.ext]] (''showGPS'' param). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''shownGPS''' |= Syntax
| '''shownGPS''' |= Syntax


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



Revision as of 16:47, 6 September 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
shownGPS
Return Value:
Boolean

Examples

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

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