Resource:Hedit: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(code updates)
Line 1: Line 1:
{{Resource page}}
{{Resource page}}
{{DISPLAYTITLE:Handling Editor}}
The MTA Ingame Handling Editor (shortly hedit or ahe) is an open source resource being developed for the latest version of MTA.
 
You can see and download the latest version on the [http://github.com/deltanic/hedit/ GitHub repository]. <br><br>
The MTA Ingame Handling Editor (shortly hedit or ahe) is an open source resource being developed for MTA 1.1.
You can see and download the latest version on the [http://code.google.com/p/hedit/ Google Code project]. <br><br>
'''[http://forum.mtasa.com/viewtopic.php?f=108&t=30494/ Be sure to see the forumtopic for all information!]'''
'''[http://forum.mtasa.com/viewtopic.php?f=108&t=30494/ Be sure to see the forumtopic for all information!]'''


Line 9: Line 7:


===getDefaultHandling===
===getDefaultHandling===
<section name="Server" class="both" show="true">
<section name="Server" class="server" show="true">
This function is used to get the default handling of some vehicle. While getOriginalHandling returns the default handling by San Andreas, this function returns the default handling which has been set by the Handling Editor. If the editor did not load any custom handlings as default, this function will return the same as getOriginalHandling.
This function is used to get the default handling of some vehicle. While getOriginalHandling returns the default handling by San Andreas, this function returns the default handling which has been set by the Handling Editor. If the editor did not load any custom handlings (through the meta), this function will return the same as getOriginalHandling. It does not take into account custom .hnd applications.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
table getDefaultHandling ( element theVehicle )
table getDefaultHandling(vehicle theVehicle)
</syntaxhighlight>
</syntaxhighlight>


Line 22: Line 20:
==Returns==
==Returns==
Returns a table containing the default handling, false otherwise.
Returns a table containing the default handling, false otherwise.
Table structure: ''property'':''value''
</section>
</section>


Line 72: Line 71:
==Source==
==Source==
The [[event system#Event source|source]] of this event is the vehicle element that got changed.
The [[event system#Event source|source]] of this event is the vehicle element that got changed.
</section>-->
</section>


==See also==
-->==See also==
[http://www.code.google.com/p/hedit/ Google Code Project] - See and get the latest changes here.<br>
[http://www.code.google.com/p/hedit/ Google Code Project] - See and get the latest changes here.<br>
[http://forum.mtasa.com/viewtopic.php?f=108&t=30494 Official Forum Topic] - The place for discussing this project.<br>
[http://forum.mtasa.com/viewtopic.php?f=108&t=30494 Official Forum Topic] - The place for discussing this project.<br>
[http://www.youtube.com/user/SilentStrikeMTA?feature=mhsn#p/p Youtube playlist] - Full playlist of all development video's of the handling editor.
[http://www.youtube.com/user/SilentStrikeMTA?feature=mhsn#p/p Youtube playlist] - Full playlist of all development video's of the handling editor.

Revision as of 13:09, 19 January 2014

The MTA Ingame Handling Editor (shortly hedit or ahe) is an open source resource being developed for the latest version of MTA. You can see and download the latest version on the GitHub repository.

Be sure to see the forumtopic for all information!

See also

Google Code Project - See and get the latest changes here.
Official Forum Topic - The place for discussing this project.
Youtube playlist - Full playlist of all development video's of the handling editor.