shownPad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (template:command argument fix)
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#U|COMREF]]
{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''shownPad'''</h2>
| ofp |= Game name


'''Operand types:'''
|1.00|= Game version
____________________________________________________________________________________________


None.
| Checks if client has Notepad enabled. |DESCRIPTION=
____________________________________________________________________________________________


'''Type of returned value:'''
| '''shownPad''' |SYNTAX=


[[Boolean]]
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[[if]] ([[shownPad]]) [[then]] {[[hint]] "You have Notepad enabled."};</code> |EXAMPLE1=
____________________________________________________________________________________________


'''Description:'''
|  [[shownMap]], [[shownGPS]], [[shownWatch]], [[shownCompass]], [[shownUAVFeed]]  |SEEALSO=


Check if player has Notebook enabled.
}}


'''Example:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


? '''shownPad''' : hint "You have a Notebook."
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SHOWNPAD]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SHOWNPAD]]
[[Category:Scripting Commands OFP 1.46|SHOWNPAD]]
[[Category:Scripting Commands ArmA|SHOWNPAD]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Checks if client has Notepad enabled.
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