Handling Editor: Difference between revisions
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
===importModelHandling=== | ===importModelHandling=== | ||
---- | ---- | ||
This function is used to import the handling set of all vehicles with the specified model ID. | |||
====Syntax==== | ====Syntax==== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Line 34: | Line 35: | ||
====Required Arguments==== | ====Required Arguments==== | ||
'''modelID''': The model id of what you want to import all handling data to (integer) | '''modelID''': The model id of what you want to import all handling data to (integer) | ||
'''data''': The data of which you wish the handling of the vehicle to (table) | |||
====Returns==== | |||
Returns '''true''' if the handling was set successfully, '''false''' otherwise. | |||
===importVehicleHandling=== | |||
---- | |||
This function is used to import the handling set of a desired vehicle. | |||
====Syntax==== | |||
<syntaxhighlight lang="lua"> | |||
bool importVehicleHandling ( vehicle theVehicle, table data ) | |||
</syntaxhighlight> | |||
====Required Arguments==== | |||
'''theVehicle''': The vehicle you wish to set the handling of (element) | |||
'''data''': The data of which you wish the handling of the vehicle to (table) | '''data''': The data of which you wish the handling of the vehicle to (table) | ||
====Returns==== | ====Returns==== | ||
Returns '''true''' if the handling was set successfully, '''false''' otherwise. | Returns '''true''' if the handling was set successfully, '''false''' otherwise. |
Revision as of 14:53, 11 May 2011
The handling editor is an open source handling editor for the MTA 1.1 handling branch. The handling editor is also known as heditor or ahe.
Links
Name | Link |
---|---|
Google Code Page | http://www.code.google.com/p/hedit/ |
Forum Post | http://forum.mtasa.com/viewtopic.php?f=108&t=30494 |
Users
Name | Role |
---|---|
Remi-X | Owner |
Qais | Committer |
Functions
importModelHandling
This function is used to import the handling set of all vehicles with the specified model ID.
Syntax
bool importModelHandling( int modelID, table data )
Required Arguments
modelID: The model id of what you want to import all handling data to (integer) data: The data of which you wish the handling of the vehicle to (table)
Returns
Returns true if the handling was set successfully, false otherwise.
importVehicleHandling
This function is used to import the handling set of a desired vehicle.
Syntax
bool importVehicleHandling ( vehicle theVehicle, table data )
Required Arguments
theVehicle: The vehicle you wish to set the handling of (element) data: The data of which you wish the handling of the vehicle to (table)
Returns
Returns true if the handling was set successfully, false otherwise.