SA-MP Forums Archive
mta to samp - 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)
+--- Thread: mta to samp (/showthread.php?tid=634754)



mta to samp - Man43 - 25.05.2017

Hello i want change this code to SAMP How??

Код:
<map edf:definitions="deathmatch,editor_main">
    <spawnpoint id="spawnpoint (1)" interior="0" skin="121" dimension="0" posX="1416.5" posY="-24.2" posZ="1007.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (2)" interior="1" skin="121" dimension="0" alpha="255" posX="1403.9" posY="2" posZ="1000.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (3)" interior="1" skin="121" dimension="0" alpha="255" posX="1412.9" posY="-39.6" posZ="1000.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (4)" interior="1" skin="121" dimension="0" alpha="255" posX="1417.7002" posY="-17.70019" posZ="1000.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (5)" interior="1" skin="121" dimension="0" alpha="255" posX="1393.8" posY="-38.7" posZ="1001.1" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (6)" interior="1" skin="121" dimension="0" alpha="255" posX="1386.2" posY="-36" posZ="1000.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (7)" interior="1" skin="121" dimension="0" alpha="255" posX="1363.7" posY="-4.9" posZ="1000.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (8)" interior="1" skin="121" dimension="0" alpha="255" posX="1373.0996" posY="-31.90039" posZ="1000.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (9)" interior="1" skin="121" dimension="0" alpha="255" posX="1362.5" posY="-20.1" posZ="1000.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <spawnpoint id="spawnpoint (10)" interior="1" skin="121" dimension="0" alpha="255" posX="1376.4" posY="5.3" posZ="1008.2" rotX="0" rotY="0" rotZ="358"></spawnpoint>
    <spawnpoint id="spawnpoint (11)" interior="1" skin="121" dimension="0" alpha="255" posX="1385.4004" posY="-4.59961" posZ="1000.9" rotX="0" rotY="0" rotZ="0"></spawnpoint>
    <object id="object (imy_bbox) (1)" breakable="true" interior="1" alpha="255" model="2991" doublesided="false" scale="1" dimension="0" posX="1392.2" posY="-7.6" posZ="1000.5" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (imy_bbox) (2)" breakable="true" interior="1" alpha="255" model="2991" doublesided="false" scale="1" dimension="0" posX="1376.6" posY="-27.1" posZ="1000.6" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (imy_bbox) (3)" breakable="true" interior="1" alpha="255" model="2991" doublesided="false" scale="1" dimension="0" posX="1400.2" posY="3.4" posZ="1000.5" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (imy_bbox) (4)" breakable="true" interior="1" alpha="255" model="2991" doublesided="false" scale="1" dimension="0" posX="1363.5" posY="-11.8" posZ="1000.5" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (imy_bbox) (5)" breakable="true" interior="1" alpha="255" model="2991" doublesided="false" scale="1" dimension="0" posX="1414.2" posY="-13.9" posZ="1000.6" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_red) (1)" breakable="true" interior="1" alpha="255" model="2934" doublesided="false" scale="1" dimension="0" posX="1412.6" posY="2.4" posZ="1001.4" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_red) (2)" breakable="true" interior="1" alpha="255" model="2934" doublesided="false" scale="1" dimension="0" posX="1408.5" posY="-39.6" posZ="1001.4" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_red) (3)" breakable="true" interior="1" alpha="255" model="2934" doublesided="false" scale="1" dimension="0" posX="1408.4" posY="-22.6" posZ="1001.4" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_red) (4)" breakable="true" interior="1" alpha="255" model="2934" doublesided="false" scale="1" dimension="0" posX="1389.5" posY="-38.1" posZ="1001.4" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_red) (5)" breakable="true" interior="1" alpha="255" model="2934" doublesided="false" scale="1" dimension="0" posX="1381.7" posY="-10.6" posZ="1001.4" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_red) (6)" breakable="true" interior="1" alpha="255" model="2934" doublesided="false" scale="1" dimension="0" posX="1401.1" posY="-17.3" posZ="1002" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_red) (7)" breakable="true" interior="1" alpha="255" model="2934" doublesided="false" scale="1" dimension="0" posX="1366.6" posY="-41.3" posZ="1001.3" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_blue) (1)" breakable="true" interior="1" alpha="255" model="2932" doublesided="false" scale="1" dimension="0" posX="1370.5" posY="0.5" posZ="1001.4" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (kmb_container_blue) (3)" breakable="true" interior="1" alpha="255" model="2932" doublesided="false" scale="1" dimension="0" posX="1390.0996" posY="-22.5" posZ="1001.4" rotX="0" rotY="0" rotZ="0"></object>
    <object id="object (CJ_CHRIS_CRATE) (1)" breakable="true" interior="1" alpha="255" model="2669" doublesided="false" scale="1" dimension="0" posX="1393.8" posY="-39.4" posZ="1001.3" rotX="0" rotY="0" rotZ="2"></object>
    <object id="object (CJ_CHRIS_CRATE) (2)" breakable="true" interior="1" alpha="255" model="2669" doublesided="false" scale="1" dimension="0" posX="1393.7998" posY="-39.40039" posZ="1001.3" rotX="0" rotY="0" rotZ="2"></object>
    <object id="object (CJ_CHRIS_CRATE) (3)" breakable="true" interior="1" alpha="255" model="2669" doublesided="false" scale="1" dimension="0" posX="1417.5" posY="-16.1" posZ="1001.3" rotX="0" rotY="0" rotZ="2"></object>
    <object id="object (acbox2_SFS) (1)" breakable="true" interior="1" alpha="255" model="3799" doublesided="false" scale="1" dimension="0" posX="1414.8" posY="-32.6" posZ="999.90002" rotX="0" rotY="0" rotZ="0"></object>
</map>
Can you change it to me Please?


Re: mta to samp - Sew_Sumi - 25.05.2017

Objects are doable on https://convertffs.com/

Spawnpoints you'll have to simply do manually... Just need to use posx, posy, posz and SetPlayerFacingAngle to rotz


It's not even that hard to do it.


Re: mta to samp - Hansrutger - 25.05.2017

Comon' mate, ****** is your friend.

https://nixtren.net/samp/mapconverter/convert.php

Edit: Sew beat me


Re: mta to samp - Man43 - 25.05.2017

Its giving me this after converit...

Код:
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)<h1>Sorry, service is unreachable right now</h1>Sorry, we're currently having problems with our MySQL server, our service should be up and running again shortly.
https://nixtren.net/samp/mapconverter/convert.php

Not opening.


Re: mta to samp - Hansrutger - 25.05.2017

Are you even trying?

"Comon' mate, ****** is your friend." I swear sometimes seriously...

http://lmgtfy.com/?q=mta+to+samp+objects

If first one doesn't work then move onto the next one. If you find yourself on page 10 on ****** search, please use the wiki to manually convert them.


Re: mta to samp - Dayrion - 26.05.2017

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Objects are doable on https://convertffs.com/
PHP код:
CreateObject(2991,1392.2000000,-7.6000000,1000.5000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (1)
CreateObject(2991,1376.6000000,-27.1000000,1000.6000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (2)
CreateObject(2991,1400.2000000,3.4000000,1000.5000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (3)
CreateObject(2991,1363.5000000,-11.8000000,1000.5000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (4)
CreateObject(2991,1414.2000000,-13.9000000,1000.6000000,0.0000000,0.0000000,0.0000000); //object(imy_bbox) (5)
CreateObject(2934,1412.6000000,2.4000000,1001.4000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_red) (1)
CreateObject(2934,1408.5000000,-39.6000000,1001.4000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_red) (2)
CreateObject(2934,1408.4000000,-22.6000000,1001.4000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_red) (3)
CreateObject(2934,1389.5000000,-38.1000000,1001.4000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_red) (4)
CreateObject(2934,1381.7000000,-10.6000000,1001.4000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_red) (5)
CreateObject(2934,1401.1000000,-17.3000000,1002.0000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_red) (6)
CreateObject(2934,1366.6000000,-41.3000000,1001.3000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_red) (7)
CreateObject(2932,1370.5000000,0.5000000,1001.4000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_blue) (1)
CreateObject(2932,1390.0996000,-22.5000000,1001.4000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_blue) (3)
CreateObject(2669,1393.8000000,-39.4000000,1001.3000000,0.0000000,0.0000000,2.0000000); //object(cj_chris_crate) (1)
CreateObject(2669,1393.7998000,-39.4003900,1001.3000000,0.0000000,0.0000000,2.0000000); //object(cj_chris_crate) (2)
CreateObject(2669,1417.5000000,-16.1000000,1001.3000000,0.0000000,0.0000000,2.0000000); //object(cj_chris_crate) (3)
CreateObject(3799,1414.8000000,-32.6000000,999.9000200,0.0000000,0.0000000,0.0000000); //object(acbox2_sfs) (1)
/*
Objects converted: 18
Vehicles converted: 0
Vehicle models found: 0
----------------------
In the time this conversion took to finish the US national debt has risen by about $1,318.26!
*/ 
Is that hard? @Author


Re: mta to samp - Sew_Sumi - 26.05.2017

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Is that hard? @Author
You missed the spawnpoints... ;P


Re: mta to samp - Dayrion - 26.05.2017

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
You missed the spawnpoints... ;P
The website doesn't include spawnpoints ^^'


Re: mta to samp - Sew_Sumi - 26.05.2017

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
The website doesn't include spawnpoints ^^'
Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Spawnpoints you'll have to simply do manually... Just need to use posx, posy, posz and SetPlayerFacingAngle to rotz
You should be able to make some array of spawnpoints and make it randomly select a spawn point each time it's called