Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssElements To Lua Converter (etl)

Category:script
Author(s):AleksCore
Downloads:1512
Rate:You need to be logged in to vote
Rating:3.6 (7 Votes)
Description:
Elements to lua line converter by AleksCore
--------------------------------------
Simple script (tool for map editor) to output position, rotation (and other properties) of vehicles (objects/markers/peds) to lua line.

How it works?
First of all start Map Editor and start this script :D, then:
1) Select vehicle (object/marker/ped) and press "H".
2) Open "Output Box" by pressing CTRL + G
3) You will get something like that:
createVehicle(411, 1234, -634, 20, 0, 0, 90) --if you was selected vehicle
or
createMarker(1234, -634, 20, "corona", 10, 255, 255, 255, 255) --if you was selected marker
4) You can also convert all vehicles (objects/markers/peds) from map by pressing "All Vehicles to lua" button in menu

Forum topic: http://forum.mtasa.com/viewtopic.php?f=108&t=58302

Download latest version | Report

Version history

Version Publish Date Changes
0.3.0 2015-06-27 16:52:19 :) Download
0.2.3 2014-11-15 10:56:34 New button: Copy as script + small fixes Download
0.2.2 2014-11-15 10:38:07 Small fixes. Code looks more clear and readable. Download
0.2.1 2014-11-15 00:41:47 minor update Download
0.2.0 2014-11-15 00:28:20 Added copy to clipboard button + fixes Download
0.1.3 2013-04-02 10:21:46 Added long name for resource :D Download
0.1.2 2013-03-27 21:10:26 Small fixes Download
0.1.1 2013-03-27 10:43:22 Small fix Download
0.1.0 2013-03-24 20:20:52 First public release Download