SA-MP Forums Archive
Converting checkpoints from MTA 1.0.4 to pawn? Any good converter? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Converting checkpoints from MTA 1.0.4 to pawn? Any good converter? (/showthread.php?tid=185670)



Converting checkpoints from MTA 1.0.4 to pawn? Any good converter? - Jochemd - 25.10.2010

Hello,

I just made some checkpoints with MTA 1.0.4. Now I want to convert them to PAWN. All the converters give nothing as output. Any good converter which works for compiling race CPs?

Anyway, this is the code (it is just some test code with useless checkpoints)

pawn Код:
<map edf:definitions="editor_main">
    <marker id="marker (checkpoint) (1)" type="checkpoint" color="#F9052299" size="1" interior="0" dimension="0" posX="2457.8010253906" posY="-1658.2568359375" posZ="13.304688453674" rotX="0" rotY="0" rotZ="0" />
    <marker id="marker (checkpoint) (2)" type="checkpoint" color="#F9052299" size="1" interior="0" dimension="0" posX="2412.8112792969" posY="-1657.2316894531" posZ="13.3828125" rotX="0" rotY="0" rotZ="0" />
    <marker id="marker (checkpoint) (3)" type="checkpoint" color="#F9052299" size="1" interior="0" dimension="0" posX="2350.6594238281" posY="-1656.3020019531" posZ="13.375456809998" rotX="0" rotY="0" rotZ="0" />
    <marker id="marker (checkpoint) (4)" type="checkpoint" color="#F9052299" size="1" interior="0" dimension="0" posX="2252.3103027344" posY="-1653.2677001953" posZ="15.218463897705" rotX="0" rotY="0" rotZ="0" />
    <marker id="marker (checkpoint) (5)" type="checkpoint" color="#F9052299" size="1" interior="0" dimension="0" posX="2014.4760742188" posY="-1610.2344970703" posZ="23.799697875977" rotX="0" rotY="0" rotZ="0" />
</map>
Regards, Jochem


Re: Converting checkpoints from MTA 1.0.4 to pawn? Any good converter? - FUNExtreme - 25.10.2010

How about doing it manually? -.-"


Re: Converting checkpoints from MTA 1.0.4 to pawn? Any good converter? - Hiddos - 25.10.2010

Take a look at the "LoadStaticVehiclesFromFile" stock function in gl_common.inc in your ../include folder (NOT in your pawno folder!), or simply use Ctrl+H (Replace) in Notepad.