SetVehicleHandling: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
__NOTOC__  
__NOTOC__  
This function can set a vehicle's handling.<br>
This function can set a vehicle's handling.<br>
'''Note:''' This function is still not implemented into the nightly, and currently only impelemented in the handling branch
 
''*'''Note:''' This function is still not implemented into the nightly, and currently only impelemented in the handling branch''
 
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
Line 11: Line 13:
*'''theVehicle:''' The vehicle you wish to set the handling of
*'''theVehicle:''' The vehicle you wish to set the handling of
*'''prop:''' The property you wish to set the handling of the vehicle to
*'''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
*'''value:''' The value of the property you wish to set the handling of the vehicle to


===Returns===
===Returns===

Revision as of 17:04, 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

See other vehicle functions