open.mp forum
[Filterscript] MTA Maps Parser - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13)
---- Forum: Filterscripts (https://forum.open.mp/forumdisplay.php?fid=30)
---- Thread: [Filterscript] MTA Maps Parser (/showthread.php?tid=1380)



MTA Maps Parser - sneakyevil - 2020-11-26

Hey,



I was kinda bored and also lazy to use converter each time and renaming CreateObject to CreateDynamicObject when I edited something in MTA SA Map Editor.

So I made simple FS that will loop through each file inside "scriptfiles/mtamaps" and parse objects & vehicles and call functions runtime.



There is one problem and I have?no idea if SA-MP has option to somehow use R, G, B colors for Vehicles but my solution was to loop through pre-defined colors and find closet one.



If there is any problem with the FS then let me know.???



Download & Source:?https://github.com/sneakyevilSK/MTA-Maps-Parser


RE: MTA Maps Parser - Pinch - 2020-11-26

It'd be better if you made something like Py script but this is fine too, GJ!

EDIT: Oh, a parser, mb, thought it was a converter


RE: MTA Maps Parser - sneakyevil - 2020-11-26

(2020-11-26, 09:13 PM)Pinch Wrote: It'd be better if you made something like Py script but this is fine too, GJ!



EDIT: Oh, a parser, mb, thought it was a converter



Basically it does same job as converter but runtime "Replicate" same process as MTA when loading map.

[Image: kLplNvt.png]


RE: MTA Maps Parser - Pinch - 2020-11-27

(2020-11-26, 10:58 PM)sneakyevil Wrote:
(2020-11-26, 09:13 PM)Pinch Wrote: It'd be better if you made something like Py script but this is fine too, GJ!



EDIT: Oh, a parser, mb, thought it was a converter



Basically it does same job as converter but runtime "Replicate" same process as MTA when loading map.

[Image: kLplNvt.png]

I know I know, sorry UwU