PDA

View Full Version : some mapping


SpikeSpigel
06/07/2015, 04:03 PM
Hi there-.. how can I compile this mapping ? I know how to compile objects , but how to compile RemoveBuildingFromPlayer no-..

<map edf:definitions="editor_main">
<removeWorldObject id="removeWorldObject (indust1las_LAS) (1)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2768.0469" posY="-2104.4844" posZ="17.78906" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (2)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2739.9844" posY="-2119.7891" posZ="17.78906" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (pylon_big1_) (1)" radius="23.485365" interior="0" model="3244" lodModel="0" posX="2758.4297" posY="-2124.8594" posZ="10.61719" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (3)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2766.5234" posY="-2074.5156" posZ="18.5" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (4)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2739.9844" posY="-2089.0547" posZ="18.5" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (5)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2794.8047" posY="-2074.5156" posZ="17.75781" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
</map>


How can I ?

Cyber123
06/07/2015, 04:17 PM
http://www.convertffs.com/ try this

SpikeSpigel
06/07/2015, 04:20 PM
That's the site that I'm using but that site can't compile RemoveBuildingFromPlayer..

Terrorizt
06/07/2015, 04:23 PM
you want to convert codes to RemoveBuildingForPlayer and CreateObject and ..?

SpikeSpigel
06/07/2015, 04:30 PM
NO-.. A player made some mapping for my server and it has some RemoveBuildingFromPlayer and I just don't know how to compile RemoveBuildingFromPlayer-.. I just need to conver that thing :

<map edf:definitions="editor_main">
<removeWorldObject id="removeWorldObject (indust1las_LAS) (1)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2768.0469" posY="-2104.4844" posZ="17.78906" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (2)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2739.9844" posY="-2119.7891" posZ="17.78906" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (pylon_big1_) (1)" radius="23.485365" interior="0" model="3244" lodModel="0" posX="2758.4297" posY="-2124.8594" posZ="10.61719" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (3)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2766.5234" posY="-2074.5156" posZ="18.5" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (4)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2739.9844" posY="-2089.0547" posZ="18.5" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (5)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2794.8047" posY="-2074.5156" posZ="17.75781" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
</map>
And I don't find a site that can do that-.. convertffs is not working .

Terrorizt
06/07/2015, 04:31 PM
Why is he even doing it like this he can use Map Editor ad it will give you the code that works with PAWN.

!damo!spiderman
06/07/2015, 04:32 PM
http://snjrp.eu/mapconverter/

JaydenJason
06/07/2015, 04:35 PM
RemoveBuildingForPlayer(playerid, 3636, 2768.0469, -2104.4844, 17.78906, 18.883654);

????

RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius)

SoFahim
06/07/2015, 05:35 PM
Hi there-.. how can I compile this mapping ? I know how to compile objects , but how to compile RemoveBuildingFromPlayer no-..

<map edf:definitions="editor_main">
<removeWorldObject id="removeWorldObject (indust1las_LAS) (1)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2768.0469" posY="-2104.4844" posZ="17.78906" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (2)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2739.9844" posY="-2119.7891" posZ="17.78906" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (pylon_big1_) (1)" radius="23.485365" interior="0" model="3244" lodModel="0" posX="2758.4297" posY="-2124.8594" posZ="10.61719" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (3)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2766.5234" posY="-2074.5156" posZ="18.5" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (4)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2739.9844" posY="-2089.0547" posZ="18.5" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
<removeWorldObject id="removeWorldObject (indust1las_LAS) (5)" radius="18.883654" interior="0" model="3636" lodModel="3683" posX="2794.8047" posY="-2074.5156" posZ="17.75781" rotX="0" rotY="0" rotZ="0"></removeWorldObject>
</map>


How can I ?

You should convert the mapping to Pawno one. Try This (gtamap.delux-host.com/converter/) or this (www.convertffs.com/) if not then use this (http://snjrp.eu/mapconverter/)

Bomber07
06/07/2015, 05:52 PM
use this format

RemoveBuildingForPlayer(playerid,modelid,Float:fX, Float:fY, Float:fZ, Float:fRadius);

JaydenJason
06/07/2015, 05:55 PM
You should convert the mapping to Pawno one. Try This (gtamap.delux-host.com/converter/) or this (www.convertffs.com/) if not then use this (http://snjrp.eu/mapconverter/)

http://snjrp.eu/mapconverter/

This one works perfect for me, only the first and the last one are broken I believe

Darkwood17
06/07/2015, 05:59 PM
RemoveBuildingForPlayer(playerid, 3636, 2768.0469, -2104.4844, 17.78906, 0.25);
RemoveBuildingForPlayer(playerid, 3636, 2739.9844, -2119.7891, 17.78906, 0.25);
RemoveBuildingForPlayer(playerid, 3244, 2758.4297, -2124.8594, 10.61719, 0.25);
RemoveBuildingForPlayer(playerid, 3636, 2766.5234, -2074.5156, 18.5, 0.25);
RemoveBuildingForPlayer(playerid, 3636, 2739.9844, -2089.0547, 18.5, 0.25);
RemoveBuildingForPlayer(playerid, 3636, 2794.8047, -2074.5156, 17.75781, 0.25);

Converted using: http://snjrp.eu/mapconverter/
Also look at this include: http://forum.sa-mp.com/showthread.php?t=427160