[Help request] Object scripting
#1

How to put this in my gamemode pwn file? I made it with MTA.

Код:
<map edf:definitions="editor_main">
    <vehicle id="vehicle (Sentinel) (1)" paintjob="3" model="405" plate="EO08 Q7R" interior="0" dimension="0" color="16,16,86,86" posX="2468" posY="-1669.1999511719" posZ="13.5" rotX="0" rotY="0" rotZ="0" upgrades="1001,1008,1087,1083,1018"></vehicle>
    <object id="object (tall_fence) (1)" doublesided="false" model="974" interior="0" dimension="0" posX="1545" posY="-1635.8000488281" posZ="15.300000190735" rotX="0" rotY="0" rotZ="268"></object>
    <object id="object (tall_fence) (2)" doublesided="false" model="974" interior="0" dimension="0" posX="1544.9000244141" posY="-1621" posZ="15.300000190735" rotX="0" rotY="0" rotZ="269.99499511719"></object>
</map>
Reply
#2

Simply put it in a MTA .map file converter (to .pwn). An example website would be convertffs.com.

Код:
AddStaticVehicleEx(405,2468.00000000,-1669.19995117,13.50000000,0.00000000,16,16,15); //Sentinel
CreateObject(974,1545.00000000,-1635.80004883,15.30000019,0.00000000,0.00000000,268.00000000); //object(tall_fence) (1)
CreateObject(974,1544.90002441,-1621.00000000,15.30000019,0.00000000,0.00000000,269.99499512); //object(tall_fence) (2)
The code, since I was bored and had the time to convert it.
Reply
#3

Thanks bro!
Reply
#4

www.convertffs.com to converte codes from mta to samp
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)