Mapping help.
#1

I got my MTA .map files converted for SAMP. I am trying to add it to the GameMode Ive downloaded. But don't know where to post it..
Quote:

AddStaticVehicleEx(560,1807.52612305,-1078.83532715,23.93414116,32.00000000,1,103,15); //Sultan
AddStaticVehicleEx(560,1803.29406738,-1079.23547363,23.93414116,341.99768066,6,1,15); //Sultan
AddStaticVehicleEx(522,1739.60278320,-1087.93615723,23.86495590,270.00000000,6,-1,15); //NRG-500
AddStaticVehicleEx(522,1739.84606934,-1085.25427246,23.86495590,270.00000000,1,6,15); //NRG-500
AddStaticVehicleEx(522,1739.66308594,-1082.51062012,23.86495590,270.00000000,3,103,15); //NRG-500
AddStaticVehicleEx(522,1740.00170898,-1080.03308105,23.86495590,270.00000000,103,1,15); //NRG-500
AddStaticVehicleEx(411,1777.30688477,-1081.78527832,24.60391045,0.00000000,103,6,15); //Infernus
AddStaticVehicleEx(541,1818.67431641,-1045.33276367,23.77812576,98.00000000,1,103,15); //Bullet
AddStaticVehicleEx(541,1819.20727539,-1050.05187988,23.77812576,97.99804688,1,103,15); //Bullet
AddStaticVehicleEx(541,1819.85278320,-1055.76525879,23.77812576,97.99804688,1,103,15); //Bullet
AddStaticVehicleEx(541,1820.47021484,-1061.22973633,23.77812576,97.99804688,1,103,15); //Bullet
AddStaticVehicleEx(541,1813.55371094,-1053.45751953,23.77812576,97.99804688,1,103,15); //Bullet
AddStaticVehicleEx(541,1812.99218750,-1048.48925781,23.77812576,97.99804688,1,103,15); //Bullet
AddStaticVehicleEx(541,1814.17138672,-1058.92260742,23.77812576,97.99804688,1,103,15); //Bullet
AddStaticVehicleEx(451,1801.58703613,-1025.37487793,23.84249687,132.00000000,-1,3,15); //Turismo
AddStaticVehicleEx(451,1804.98596191,-1030.27490234,23.84249687,125.99523926,-1,3,15); //Turismo
AddStaticVehicleEx(415,1815.15551758,-1076.95324707,23.92764664,62.00000000,-1,1,15); //Cheetah
AddStaticVehicleEx(415,1815.30590820,-1072.02380371,23.92764664,81.99584961,-1,1,15); //Cheetah
AddStaticVehicleEx(578,1718.96301270,-1047.40075684,24.66291809,0.00000000,-1,-1,15); //DFT-30
CreateObject(8210,1571.09191895,-1031.74353027,25.74946404,0.00000000,0.00000000,30 2.00000000); //object(vgsselecfence12) (1)
CreateObject(8210,1599.31677246,-1077.41552734,26.00727654,0.00000000,0.00000000,28 7.99768066); //object(vgsselecfence12) (2)
CreateObject(8210,1609.26196289,-1113.14538574,26.01506042,0.00000000,0.00000000,28 1.99560547); //object(vgsselecfence12) (3)
CreateObject(8313,1579.82568359,-1056.63061523,26.72724533,0.00000000,0.00000000,31 2.00000000); //object(vgsselecfence16) (1)
CreateObject(8311,1633.65344238,-1138.92236328,26.26448631,0.00000000,0.00000000,18 3.00000000); //object(vgsselecfence15) (3)
CreateObject(8556,1650.45471191,-1050.68395996,27.41449356,0.00000000,0.00000000,0. 00000000); //object(vgshsegate04) (1)
CreateObject(8556,1705.70166016,-1047.70886230,27.42230606,0.00000000,0.00000000,0. 00000000); //object(vgshsegate04) (2)
CreateObject(8313,1664.31054688,-1142.67639160,26.55537033,0.00000000,0.00000000,28 2.00000000); //object(vgsselecfence16) (2)
CreateObject(8313,1676.91577148,-1130.23559570,26.55537033,0.00000000,0.00000000,19 3.99707031); //object(vgsselecfence16) (3)
CreateObject(8313,1679.25341797,-1108.42041016,26.55537033,0.00000000,0.00000000,18 1.99658203); //object(vgsselecfence16) (4)
CreateObject(8313,1695.24316406,-1093.95410156,26.55537033,0.00000000,0.00000000,11 5.99401855); //object(vgsselecfence16) (5)
CreateObject(8263,1764.75866699,-1091.89978027,26.17915154,0.00000000,0.00000000,0. 00000000); //object(vgsselecfence14) (1)
CreateObject(8313,1825.60498047,-1074.61157227,26.64777184,0.00000000,0.00000000,0. 00000000); //object(vgsselecfence16) (6)
CreateObject(8313,1828.32189941,-1049.06530762,26.64777184,0.00000000,0.00000000,18 .00000000); //object(vgsselecfence16) (7)
CreateObject(8313,1818.54528809,-1028.54858398,25.47724533,0.00000000,0.00000000,60 .00000000); //object(vgsselecfence16) (
CreateObject(3464,1756.82397461,-1021.16772461,25.25657272,0.00000000,0.00000000,78 .00000000); //object(shabbyhouse03_lvs) (1)
CreateObject(3588,1635.52941895,-1020.55078125,25.57281876,0.00000000,0.00000000,35 8.00000000); //object(sanped_hse1_las) (1)
CreateObject(3108,1625.45385742,-1021.09356689,23.36391449,0.00000000,0.00000000,0. 00000000); //object(basejump_target) (1)
CreateObject(3350,1621.09033203,-1014.19604492,28.24233818,0.00000000,0.00000000,28 .00000000); //object(torino_mic) (1)
CreateObject(1337,1568.77539062,-1039.54980469,23.41404724,0.00000000,0.00000000,0. 00000000); //object(binnt07_la) (1)
CreateObject(3938,1775.70886230,-1083.40368652,23.90547371,0.00000000,0.00000000,90 .00000000); //object(rczero4_base01) (1)
CreateObject(2933,1822.44580078,-1089.68786621,24.79373932,0.00000000,0.00000000,26 0.00000000); //object(pol_comp_gate) (1)
CreateObject(2933,1822.44531250,-1089.68750000,28.04373932,0.00000000,0.00000000,25 9.99694824); //object(pol_comp_gate) (2)
CreateObject(2933,1822.44531250,-1089.68750000,30.79373932,0.00000000,0.00000000,25 9.99694824); //object(pol_comp_gate) (3)
CreateObject(2916,1635.74145508,-1015.79956055,23.01497650,0.00000000,0.00000000,0. 00000000); //object(kmb_dumbbell) (1)
CreateObject(2916,1628.80810547,-1026.33483887,23.01497650,0.00000000,0.00000000,0. 00000000); //object(kmb_dumbbell) (2)
CreateObject(2916,1621.16210938,-1014.69482422,23.01497650,0.00000000,0.00000000,0. 00000000); //object(kmb_dumbbell) (3)
CreateObject(2913,1637.28503418,-1025.31726074,23.14843750,0.00000000,0.00000000,26 4.00000000); //object(kmb_bpress) (1)
CreateObject(2614,1624.84509277,-1014.80444336,25.53658867,0.00000000,0.00000000,0. 00000000); //object(cj_us_flag) (1)
CreateObject(2056,1643.92016602,-1023.35070801,26.17692947,0.00000000,0.00000000,0. 00000000); //object(cj_target6) (1)
CreateObject(18081,1762.63317871,-1028.54223633,24.28242111,0.00000000,0.00000000,26 2.00000000); //object(cj_ab_barber2_2) (1)
CreateObject(18051,1625.52905273,-1019.91882324,24.39637184,0.00000000,0.00000000,17 8.00000000); //object(range_xtras03) (1)
CreateObject(18005,1633.64172363,-1015.13116455,23.42926788,0.00000000,0.00000000,35 6.00000000); //object(int_barbera01) (1)
CreateObject(1586,1633.17456055,-1017.99151611,22.89843750,0.00000000,0.00000000,27 8.00000000); //object(tar_civ1) (1)
CreateObject(1585,1634.47839355,-1020.95440674,22.89843750,0.00000000,0.00000000,84 .00000000); //object(tar_civ2) (1)
CreateObject(1584,1627.75231934,-1025.54333496,22.89843750,0.00000000,0.00000000,58 .00000000); //object(tar_gun1) (1)
CreateObject(1583,1633.42663574,-1025.92858887,22.89843750,0.00000000,0.00000000,22 .00000000); //object(tar_gun2) (1)
CreateObject(14840,1628.96386719,-1028.91210938,26.75804901,0.00000000,0.00000000,0. 00000000); //object(bdups_graf) (1)
CreateObject(14840,1627.55749512,-1024.56640625,26.81617165,0.00000000,0.00000000,82 .00000000); //object(bdups_graf) (2)
CreateObject(14600,1628.74707031,-1019.44885254,24.50557709,0.00000000,0.00000000,0. 00000000); //object(paperchase_bits2) (1)
CreateObject(11470,1746.58227539,-1031.46459961,27.83054352,0.00000000,0.00000000,26 0.00000000); //object(des_bigbull) (1)
CreateObject(1337,1757.38085938,-1035.68261719,41.41550064,0.00000000,0.00000000,0. 00000000); //object(binnt07_la) (3)
CreateObject(5020,1638.05712891,-1142.50805664,24.59080696,0.00000000,0.00000000,27 4.00000000); //object(mul_las) (1)
CreateObject(1578,1648.94311523,-1076.87890625,24.21432686,0.00000000,0.00000000,0. 00000000); //object(drug_green) (1)
CreateObject(3885,1636.64990234,-1090.06213379,23.21253777,0.00000000,0.00000000,0. 00000000); //object(sambase_sfxrf) (1)
CreateObject(2985,1638.96594238,-1090.08374023,23.71253777,0.00000000,0.00000000,0. 00000000); //object(minigun_base) (1)
CreateObject(2985,1634.05029297,-1090.08129883,23.70484543,0.00000000,0.00000000,16 8.00000000); //object(minigun_base) (2)
CreateObject(3884,1636.81152344,-1092.05908203,23.21253777,0.00000000,0.00000000,18 0.00000000); //object(samsite_sfxrf) (1)
CreateObject(13562,1598.83679199,-1066.77807617,22.90625000,0.00000000,0.00000000,0. 00000000); //object(bigsprunkpole) (1)
CreateObject(1775,1599.54858398,-1070.85314941,24.00328636,0.00000000,0.00000000,10 8.00000000); //object(cj_sprunk1) (1)
CreateObject(1775,1600.00109863,-1073.23510742,24.00328636,0.00000000,0.00000000,10 7.99560547); //object(cj_sprunk1) (2)
CreateObject(1775,1600.94311523,-1075.60278320,24.00328636,0.00000000,0.00000000,10 7.99560547); //object(cj_sprunk1) (3)
CreateObject(1655,1735.52795410,-1048.02453613,24.26885033,0.00000000,0.00000000,88 .00000000); //object(waterjumpx2) (1)

Wanted to know where in the pawno file should I post this...
Any help...?
Reply
#2

but under public OnGameModeInit() or public OFilterScriptInit()
Reply
#3

Quote:
Originally Posted by Mr.Jvxmc
Посмотреть сообщение
but under public OnGameModeInit() or public OFilterScriptInit()
Do I just post it anywhere under there or a specific place .. ?
Reply
#4

Just like how u used put your code between quote and /quote, change those to pawn and /pawn (Thats the best way i could explain it)

pawn Код:
public OnGameModeInit()
{
        AddStaticVehicleEx(560,1807.52612305,-1078.83532715,23.93414116,32.00000000,1,103,15); //Sultan
    AddStaticVehicleEx(560,1803.29406738,-1079.23547363,23.93414116,341.99768066,6,1,15); //Sultan
    AddStaticVehicleEx(522,1739.60278320,-1087.93615723,23.86495590,270.00000000,6,-1,15); //NRG-500
    AddStaticVehicleEx(522,1739.84606934,-1085.25427246,23.86495590,270.00000000,1,6,15); //NRG-500
    AddStaticVehicleEx(522,1739.66308594,-1082.51062012,23.86495590,270.00000000,3,103,15); //NRG-500
    AddStaticVehicleEx(522,1740.00170898,-1080.03308105,23.86495590,270.00000000,103,1,15); //NRG-500
    AddStaticVehicleEx(411,1777.30688477,-1081.78527832,24.60391045,0.00000000,103,6,15); //Infernus
    AddStaticVehicleEx(541,1818.67431641,-1045.33276367,23.77812576,98.00000000,1,103,15); //Bullet
    AddStaticVehicleEx(541,1819.20727539,-1050.05187988,23.77812576,97.99804688,1,103,15); //Bullet
    AddStaticVehicleEx(541,1819.85278320,-1055.76525879,23.77812576,97.99804688,1,103,15); //Bullet
    AddStaticVehicleEx(541,1820.47021484,-1061.22973633,23.77812576,97.99804688,1,103,15); //Bullet
    AddStaticVehicleEx(541,1813.55371094,-1053.45751953,23.77812576,97.99804688,1,103,15); //Bullet
    AddStaticVehicleEx(541,1812.99218750,-1048.48925781,23.77812576,97.99804688,1,103,15); //Bullet
    AddStaticVehicleEx(541,1814.17138672,-1058.92260742,23.77812576,97.99804688,1,103,15); //Bullet
    AddStaticVehicleEx(451,1801.58703613,-1025.37487793,23.84249687,132.00000000,-1,3,15); //Turismo
    AddStaticVehicleEx(451,1804.98596191,-1030.27490234,23.84249687,125.99523926,-1,3,15); //Turismo
    AddStaticVehicleEx(415,1815.15551758,-1076.95324707,23.92764664,62.00000000,-1,1,15); //Cheetah
    AddStaticVehicleEx(415,1815.30590820,-1072.02380371,23.92764664,81.99584961,-1,1,15); //Cheetah
    AddStaticVehicleEx(578,1718.96301270,-1047.40075684,24.66291809,0.00000000,-1,-1,15); //DFT-30
    CreateObject(8210,1571.09191895,-1031.74353027,25.74946404,0.00000000,0.00000000,30 2.00000000); //object(vgsselecfence12) (1)
    CreateObject(8210,1599.31677246,-1077.41552734,26.00727654,0.00000000,0.00000000,28 7.99768066); //object(vgsselecfence12) (2)
    CreateObject(8210,1609.26196289,-1113.14538574,26.01506042,0.00000000,0.00000000,28 1.99560547); //object(vgsselecfence12) (3)
    CreateObject(8313,1579.82568359,-1056.63061523,26.72724533,0.00000000,0.00000000,31 2.00000000); //object(vgsselecfence16) (1)
    CreateObject(8311,1633.65344238,-1138.92236328,26.26448631,0.00000000,0.00000000,18 3.00000000); //object(vgsselecfence15) (3)
    CreateObject(8556,1650.45471191,-1050.68395996,27.41449356,0.00000000,0.00000000,0. 00000000); //object(vgshsegate04) (1)
    CreateObject(8556,1705.70166016,-1047.70886230,27.42230606,0.00000000,0.00000000,0. 00000000); //object(vgshsegate04) (2)
    CreateObject(8313,1664.31054688,-1142.67639160,26.55537033,0.00000000,0.00000000,28 2.00000000); //object(vgsselecfence16) (2)
    CreateObject(8313,1676.91577148,-1130.23559570,26.55537033,0.00000000,0.00000000,19 3.99707031); //object(vgsselecfence16) (3)
    CreateObject(8313,1679.25341797,-1108.42041016,26.55537033,0.00000000,0.00000000,18 1.99658203); //object(vgsselecfence16) (4)
    CreateObject(8313,1695.24316406,-1093.95410156,26.55537033,0.00000000,0.00000000,11 5.99401855); //object(vgsselecfence16) (5)
    CreateObject(8263,1764.75866699,-1091.89978027,26.17915154,0.00000000,0.00000000,0. 00000000); //object(vgsselecfence14) (1)
    CreateObject(8313,1825.60498047,-1074.61157227,26.64777184,0.00000000,0.00000000,0. 00000000); //object(vgsselecfence16) (6)
    CreateObject(8313,1828.32189941,-1049.06530762,26.64777184,0.00000000,0.00000000,18 .00000000); //object(vgsselecfence16) (7)
    CreateObject(8313,1818.54528809,-1028.54858398,25.47724533,0.00000000,0.00000000,60 .00000000); //object(vgsselecfence16) (
    CreateObject(3464,1756.82397461,-1021.16772461,25.25657272,0.00000000,0.00000000,78 .00000000); //object(shabbyhouse03_lvs) (1)
    CreateObject(3588,1635.52941895,-1020.55078125,25.57281876,0.00000000,0.00000000,35 8.00000000); //object(sanped_hse1_las) (1)
    CreateObject(3108,1625.45385742,-1021.09356689,23.36391449,0.00000000,0.00000000,0. 00000000); //object(basejump_target) (1)
    CreateObject(3350,1621.09033203,-1014.19604492,28.24233818,0.00000000,0.00000000,28 .00000000); //object(torino_mic) (1)
    CreateObject(1337,1568.77539062,-1039.54980469,23.41404724,0.00000000,0.00000000,0. 00000000); //object(binnt07_la) (1)
    CreateObject(3938,1775.70886230,-1083.40368652,23.90547371,0.00000000,0.00000000,90 .00000000); //object(rczero4_base01) (1)
    CreateObject(2933,1822.44580078,-1089.68786621,24.79373932,0.00000000,0.00000000,26 0.00000000); //object(pol_comp_gate) (1)
    CreateObject(2933,1822.44531250,-1089.68750000,28.04373932,0.00000000,0.00000000,25 9.99694824); //object(pol_comp_gate) (2)
    CreateObject(2933,1822.44531250,-1089.68750000,30.79373932,0.00000000,0.00000000,25 9.99694824); //object(pol_comp_gate) (3)
    CreateObject(2916,1635.74145508,-1015.79956055,23.01497650,0.00000000,0.00000000,0. 00000000); //object(kmb_dumbbell) (1)
    CreateObject(2916,1628.80810547,-1026.33483887,23.01497650,0.00000000,0.00000000,0. 00000000); //object(kmb_dumbbell) (2)
    CreateObject(2916,1621.16210938,-1014.69482422,23.01497650,0.00000000,0.00000000,0. 00000000); //object(kmb_dumbbell) (3)
    CreateObject(2913,1637.28503418,-1025.31726074,23.14843750,0.00000000,0.00000000,26 4.00000000); //object(kmb_bpress) (1)
    CreateObject(2614,1624.84509277,-1014.80444336,25.53658867,0.00000000,0.00000000,0. 00000000); //object(cj_us_flag) (1)
    CreateObject(2056,1643.92016602,-1023.35070801,26.17692947,0.00000000,0.00000000,0. 00000000); //object(cj_target6) (1)
    CreateObject(18081,1762.63317871,-1028.54223633,24.28242111,0.00000000,0.00000000,26 2.00000000); //object(cj_ab_barber2_2) (1)
    CreateObject(18051,1625.52905273,-1019.91882324,24.39637184,0.00000000,0.00000000,17 8.00000000); //object(range_xtras03) (1)
    CreateObject(18005,1633.64172363,-1015.13116455,23.42926788,0.00000000,0.00000000,35 6.00000000); //object(int_barbera01) (1)
    CreateObject(1586,1633.17456055,-1017.99151611,22.89843750,0.00000000,0.00000000,27 8.00000000); //object(tar_civ1) (1)
    CreateObject(1585,1634.47839355,-1020.95440674,22.89843750,0.00000000,0.00000000,84 .00000000); //object(tar_civ2) (1)
    CreateObject(1584,1627.75231934,-1025.54333496,22.89843750,0.00000000,0.00000000,58 .00000000); //object(tar_gun1) (1)
    CreateObject(1583,1633.42663574,-1025.92858887,22.89843750,0.00000000,0.00000000,22 .00000000); //object(tar_gun2) (1)
    CreateObject(14840,1628.96386719,-1028.91210938,26.75804901,0.00000000,0.00000000,0. 00000000); //object(bdups_graf) (1)
    CreateObject(14840,1627.55749512,-1024.56640625,26.81617165,0.00000000,0.00000000,82 .00000000); //object(bdups_graf) (2)
    CreateObject(14600,1628.74707031,-1019.44885254,24.50557709,0.00000000,0.00000000,0. 00000000); //object(paperchase_bits2) (1)
    CreateObject(11470,1746.58227539,-1031.46459961,27.83054352,0.00000000,0.00000000,26 0.00000000); //object(des_bigbull) (1)
    CreateObject(1337,1757.38085938,-1035.68261719,41.41550064,0.00000000,0.00000000,0. 00000000); //object(binnt07_la) (3)
    CreateObject(5020,1638.05712891,-1142.50805664,24.59080696,0.00000000,0.00000000,27 4.00000000); //object(mul_las) (1)
    CreateObject(1578,1648.94311523,-1076.87890625,24.21432686,0.00000000,0.00000000,0. 00000000); //object(drug_green) (1)
    CreateObject(3885,1636.64990234,-1090.06213379,23.21253777,0.00000000,0.00000000,0. 00000000); //object(sambase_sfxrf) (1)
    CreateObject(2985,1638.96594238,-1090.08374023,23.71253777,0.00000000,0.00000000,0. 00000000); //object(minigun_base) (1)
    CreateObject(2985,1634.05029297,-1090.08129883,23.70484543,0.00000000,0.00000000,16 8.00000000); //object(minigun_base) (2)
    CreateObject(3884,1636.81152344,-1092.05908203,23.21253777,0.00000000,0.00000000,18 0.00000000); //object(samsite_sfxrf) (1)
    CreateObject(13562,1598.83679199,-1066.77807617,22.90625000,0.00000000,0.00000000,0. 00000000); //object(bigsprunkpole) (1)
    CreateObject(1775,1599.54858398,-1070.85314941,24.00328636,0.00000000,0.00000000,10 8.00000000); //object(cj_sprunk1) (1)
    CreateObject(1775,1600.00109863,-1073.23510742,24.00328636,0.00000000,0.00000000,10 7.99560547); //object(cj_sprunk1) (2)
    CreateObject(1775,1600.94311523,-1075.60278320,24.00328636,0.00000000,0.00000000,10 7.99560547); //object(cj_sprunk1) (3)
    CreateObject(1655,1735.52795410,-1048.02453613,24.26885033,0.00000000,0.00000000,88 .00000000); //object(waterjumpx2) (1)
    return 1;
}
And since you are using MTA, i doubt that the vehicles created in there will work in SAMP (you have to create them in SAMP)
Reply
#5

www.convertffs.com
Reply
#6

Lol i used Delux but that is better.
Reply
#7

I put that in the pawno script then when I hit f5 to compile it. Pawno shows this.
Reply
#8

Quote:
Originally Posted by Romaine33
Посмотреть сообщение
I put that in the pawno script then when I hit f5 to compile it. Pawno shows this.
Your problem is at CreateObject, you have some spaces between coordinates, which you shouldn't.
________
Harmed By Paxil
Reply
#9

Quote:
Originally Posted by [NoV]LaZ
Посмотреть сообщение
Your problem is at CreateObject, you have some spaces between coordinates, which you shouldn't.
Thank you.

[EDIT] I tried to fix those spaces but I still get the same error.
Reply
#10

Remove one of the two tabs in the first AddStaticVehicleEx line.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)