Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Releases Filterscripts [Filterscript] MTA Maps Parser

 
  • 0 Vote(s) - 0 Average
Filterscript MTA Maps Parser
sneakyevil
Offline

Burgershot Member
Posts: 5
Threads: 2
Joined: Nov 2020
Reputation: 0
Location: Slovakia
#1
2020-11-26, 08:22 PM
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
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#2
2020-11-26, 09:13 PM (This post was last modified: 2020-11-26, 09:14 PM by Pinch.)
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
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
sneakyevil
Offline

Burgershot Member
Posts: 5
Threads: 2
Joined: Nov 2020
Reputation: 0
Location: Slovakia
#3
2020-11-26, 10:58 PM
(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]
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#4
2020-11-27, 10:50 AM
(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
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode