setVehicleLock: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:
'''Description:'''
'''Description:'''


Set how vehicle is locked for player. Possible values: UNLOCKED, DEFAULT or LOCKED.
Set how vehicle is locked for player.
 
Possible values: UNLOCKED, DEFAULT or LOCKED.
 


'''Example:'''
'''Example:'''


veh1 '''setVehicleLock''' "LOCKED"
veh1 '''setVehicleLock''' "LOCKED"

Revision as of 21:41, 4 July 2006


vehicle setVehicleLock state


Operand types:

vehicle: Object

state: String

Type of returned value:

Nothing

Compatibility:

Version 2.33 required.

Description:

Set how vehicle is locked for player.

Possible values: UNLOCKED, DEFAULT or LOCKED.


Example:

veh1 setVehicleLock "LOCKED"