engineOn: Difference between revisions

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


Switch the vehicle's engine on (true) or off (false.
Switch the vehicle's engine on ([[true]]) or off ([[false]]).





Revision as of 23:00, 3 July 2006


vehicle engineOn enable


Operand types:

vehicle: Object

enable: Boolean

Type of returned value:

Nothing

Description:

Switch the vehicle's engine on (true) or off (false).


Example:

carOne engineOn true