Resource:Handling Editor: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Redirected page to Resource:Hedit)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Resource page}}
#REDIRECT [[Resource:Hedit]]
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. The resource is currently in production and latest unstable can found at [http://code.google.com/p/hedit/ Google Code] >>> [http://code.google.com/p/hedit/source/browse/trunk/#trunk Trunk].
==Links==
{| border="1"
! Name
! Link
|-
|[http://www.code.google.com/p/hedit/ Google Code Page]
|[http://www.code.google.com/p/hedit/ http://www.code.google.com/p/hedit/]
|-
|[http://forum.mtasa.com/viewtopic.php?f=108&t=30494 Forum Topic]
|[http://forum.mtasa.com/viewtopic.php?f=108&t=30494 http://forum.mtasa.com/viewtopic.php?f=108&t=30494]
|}
 
==Users==
{| border="1"
|-
! Name
! Role
|-
| Remi-X
| Owner
|-
| Qais
| Committer
|}
 
==Exported Functions/Events==
<section name="Server" class="server" show="true">
 
===Functions===
This function is used to import the handling set of all vehicles with the specified model ID.
<syntaxhighlight lang="lua">
bool importModelHandling( int modelID, table data )
</syntaxhighlight>
 
'''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 '''true''' if the handling was set successfully, '''false''' otherwise.
 
----
 
This function is used to import the handling set of a desired vehicle.
<syntaxhighlight lang="lua">
bool importVehicleHandling ( vehicle theVehicle, table data )
</syntaxhighlight>
 
'''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 '''true''' if the handling was set successfully, '''false''' otherwise.
</section>

Latest revision as of 13:01, 19 January 2014

Redirect to: