shownPad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description, see aslo)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Check if player has Notebook enabled. |= Description
| Checks if client has Notepad enabled in [[description.ext]] (''showPad'' param). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>? shownPad : [[hint]] "You have a Notebook."</code> |= Example 1
|x1= <code>[[if]] ([[shownPad]]) [[then]] {[[hint]] "You have Notepad enabled."};</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= See also
| [[shownMap]], [[shownGPS]], [[shownWatch]], [[shownCompass]], [[shownUAVFeed]] |= See also


}}
}}

Revision as of 17:01, 6 September 2014

Hover & click on the images for description

Description

Description:
Checks if client has Notepad enabled in description.ext (showPad param).
Groups:
Uncategorised

Syntax

Syntax:
shownPad
Return Value:
Boolean

Examples

Example 1:
if (shownPad) then {hint "You have Notepad enabled."};

Additional Information

See also:
shownMapshownGPSshownWatchshownCompassshownUAVFeed

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