SetVehicleHandling: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Server function}} __NOTOC__ This function can set a vehicle's handling.<br> '''Note:''' This function is still not implemented into the nightly, and currently only impelement...") |
No edit summary |
||
Line 5: | Line 5: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool setVehicleHandling(element theVehicle, string prop int/float/bool value) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 17:01, 6 May 2011
This function can set a vehicle's handling.
Note: This function is still not implemented into the nightly, and currently only impelemented in the handling branch
Syntax
bool setVehicleHandling(element theVehicle, string prop int/float/bool value)
Required Arguments
- theVehicle: The vehicle you wish to set the handling of
- prop: The property you wish to set the handling of the vehicle to
- 'value: The value of the property you wish to set the handling of the vehicle to
Returns
Returns true if the handling was set successfully, false otherwise.
Example
-- to do