lock: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|LOCK]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LOCK]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|LOCK]]
[[Category:Scripting Commands ArmA|LOCK]]


| ofp |= Game name


<h2 style="color:#000066">'''''vehicle'' lock ''lock'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Lock vehicle (disable mounting / dismounting) for player. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| vehicle '''lock''' lock |= Syntax


'''vehicle:''' [[Object]]
|p1= vehicle: [[Object]] |= Parameter 1


'''lock:''' [[Boolean]]
|p2= lock: [[Boolean]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>jeepOne lock [[true]]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


'''Lock''' vehicle (disable mounting / dismounting) for player.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LOCK]]
jeepOne '''lock''' [[true]]
[[Category:Scripting Commands OFP 1.96|LOCK]]
[[Category:Scripting Commands OFP 1.46|LOCK]]
[[Category:Scripting Commands ArmA|LOCK]]

Revision as of 00:59, 2 August 2006

Hover & click on the images for description

Description

Description:
Lock vehicle (disable mounting / dismounting) for player.
Groups:
Uncategorised

Syntax

Syntax:
vehicle lock lock
Parameters:
vehicle: Object
lock: Boolean
Return Value:
Nothing

Examples

Example 1:
jeepOne lock [[true]]

Additional Information

See also:
See also needed

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