GetVehicleAdjustableProperty: Difference between revisions
Jump to navigation
Jump to search
(New page: getVehicleAdjustableProperty Use this to get the value of a vehicles adjustable property. This property relates to movable parts of a model, for example hydra jets or dump truck tray. ...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Client function}} | |||
Use this to get the value of a vehicles adjustable property. This property relates to movable parts of a model, for example hydra jets or dump truck tray. | Use this to get the value of a vehicles adjustable property. This property relates to movable parts of a model, for example hydra jets or dump truck tray. | ||
==Syntax== | |||
<syntaxhighlight lang="lua">bool/int getVehicleAdjustableProperty ( vehicle )</syntaxhighlight> | |||
===Returns=== | |||
If successful, returns a value from 0 upwards representing adjustment. 0 is default position. Maximum varies per vehicle, for example hydra horizontal flight is 5000, while dump truck tray max tilt is 2500. Returns ''false'' in case of failure. | |||
Returns | |||
Revision as of 02:04, 5 January 2009
Use this to get the value of a vehicles adjustable property. This property relates to movable parts of a model, for example hydra jets or dump truck tray.
Syntax
bool/int getVehicleAdjustableProperty ( vehicle )
Returns
If successful, returns a value from 0 upwards representing adjustment. 0 is default position. Maximum varies per vehicle, for example hydra horizontal flight is 5000, while dump truck tray max tilt is 2500. Returns false in case of failure.