Spawns verschieben/ändern ?

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo habe mal eine Frage...


    Wie kann cih das FBI Spawn in LS nach LV Verschieben ?


    Danke im Vorraus


    Mfg.


    Franky0

  • Redest du von RL? oder DM?


    Also bei DM findest du das unter


    OnPlayerSpawn


    musst du die Jeweilige Fraktion suchen und dann


    SetplayerPos


    in deine Cords umändern...

    Du brauchst eine Website?

    Du hast ein Layout angefertigt und willst es gecoded sehen?

    DANN SCHREIB MICH AN.

    Kostenlos und für euch.

  • ja danke :) Aber wenn cih das Richtig verstanden haben z.B.


    1. Samp Debug rein und wie normla /vsel /save usw....
    2. bei savepositions nur die Koordinaten ändern alsoo.. so ??


    Also das ist das wohin ich das Verschieben will .. AddStaticVehicle(490,2512.4360,2355.0522,10.9496,89.7505,0,0); //


    Ich muss das erstzen:


    new CarSpawns[182][eCars] = {
    {405,-2125.7424,658.0462,52.2988,93.9612},//carid 90
    {426,-2158.0222,657.3932,52.2775,272.8372},
    {445,-1926.3204,585.6179,34.9963,359.8303},
    {492,2229.2,-1170.2,25.7,86.9},
    {507,-2214.8047,-82.7890,35.0474,0.6476},
    {545,2217.0,-1157.2,25.7,269.8},
    {547,405.9748,-1264.3921,50.1237,24.2110},
    {550,-1497.4576,845.8479,6.9382,88.5201},
    {551,-1741.0051,811.0620,24.5782,270.6681},
    {560,2106.4695,-1248.7920,24.0461,0.1524},
    {566,2196.2891,-1277.7905,24.2147,180.4522},
    {402,-1704.3132,999.7747,17.3646,90.0725},
    {405,216.5521,-1431.4004,13.0853,132.5749},
    {554,334.2231,-1343.7405,14.3828,209.9581},
    {507,697.4343,-1230.9486,16.5063,298.7916},
    {545,723.9850,-1121.5535,18.1450,333.9010},
    {536,666.8468,-467.6579,16.0734,90.8623},
    {560,668.1161,-546.2436,16.0413,89.4239},
    {540,912.2176,-996.2035,38.1402,7.5764},
    {482,-1758.3512,910.7219,24.5923,269.8633},
    {547,981.8715,-917.3546,41.5443,88.0589},
    {550,1188.4082,-925.1859,42.8590,277.5563},
    {400,-1699.4597,1035.9624,45.0934,91.6588},
    {405,1450.2,-937.1,36.2,269.6909}, //116
    {492,2148.3257,-1175.2518,24.1959,269.6909},
    {507,-1786.7155,1205.1598,24.7812,178.8758},
    {545,-1716.5907,1350.4829,6.8346,44.2506},
    {540,2348.2910,-1167.9983,27.3637,323.1586},
    {482,2502.0388,-1134.9507,39.1953,150.9506},
    {547,-2166.4534,1251.1536,27.2650,1.0352},
    {550,2853.1858,-1326.8011,11.1511,278.9301},
    {551,-2040.4761,1107.7072,53.4166,89.8473},
    {533,2796.9031,-1567.2024,10.6386,272.4041},
    {482,2813.2175,-1673.0276,9.6638,2.3369},
    {547,2827.6736,-1703.9755,9.7308,77.2896},
    {550,2809.3872,-1837.2391,9.7398,268.9880},
    {551,-2438.0784,1341.1190,7.6988,84.5107},
    {566,2411.5386,-2134.7576,13.9352,0.7795},
    {554,1389.7467,-2695.9370,13.4164,121.1818},
    {405,783.1359,-1601.8208,13.2577,270.9069},
    {554,782.7205,-1619.3584,13.2653,93.0550},
    {426,923.0841,-1361.7990,13.0324,181.1371},
    {445,-2644.6819,1342.3251,6.8981,270.7903},
    {492,1174.6599,-922.1939,43.1189,276.8927},
    {507,1363.0210,-1288.3124,13.2839,180.1453},
    {545,1363.2723,-1260.8229,13.0954,179.5841},
    {540,2383.5627,-1927.9207,13.2436,359.6281},
    {482,-2635.0933,1377.1693,6.8692,180.6415},
    {547,-2513.1277,1209.6135,37.1506,270.2610},
    {550,2396.6899,-1966.8123,13.2793,271.6838},
    {551,2391.1135,-1500.6554,23.6355,269.7709},
    {560,-2273.8679,921.3550,66.3095,0.6336},
    {405,-2153.0779,953.6602,79.7271,180.3209},
    {554,334.3586,-1789.3143,4.6717,178.7722},
    {426,343.8039,-1808.9827,4.3090,181.8368},
    {445,-2129.2915,787.6183,69.3346,87.1812},
    {492,646.4998,-1771.6411,13.2905,348.7706},
    {507,-2151.9524,395.9857,34.9395,180.7696},//150
    {545,-2078.8027,265.4074,35.1672,268.0607},
    {540,-2034.8334,178.8471,28.5682,269.9615},
    {482,438.9431,-1625.4088,25.7951,0.1850},
    {547,453.3896,-1494.3240,30.7917,7.7513},
    {550,487.6469,-1516.2312,20.0235,185.5384},
    {551,300.5775,-1490.8882,24.3748,235.1359},
    {560,-2180.1323,41.8542,35.1717,269.9866},
    {566,524.0590,-1375.0093,15.8231,193.3626},
    {405,598.9131,-1519.1414,14.8214,180.4083},
    {554,-2488.1333,-133.0336,25.3507,90.1064},
    {426,-2499.5225,45.0666,25.2641,89.9251},
    {445,-2636.7976,-55.4094,4.0630,359.9826},
    {492,-2718.5115,-124.4794,4.3505,269.1428},
    {507,736.8572,-1337.1550,13.3140,271.3832},
    {545,856.7003,-1363.1852,13.4093,179.8542},//165
    {482,888.1506,-1659.2727,13.3296,1.2414},
    {547,879.1024,-1669.2560,13.3305,180.5853},
    {550,-2134.1443,-453.9576,35.1479,95.0877},
    {551,920.4441,-1823.0966,12.3452,84.1821},
    {560,-1639.3900,-567.5057,13.9530,80.1994},
    {566,1062.6744,-1757.9412,13.1956,89.0572},
    {405,-2265.1501,148.9554,34.8837,269.3405},
    {554,1081.8948,-1629.9564,13.4064,90.0880},
    {426,981.7941,-1523.5115,13.3379,267.2751},
    {445,1014.7464,-1434.4586,13.3292,266.3129},
    {492,492.6386,-1555.3513,17.1462,213.1128},//DERBY
    {507,2684.6,-2019.0,13.3 ,0.8777},
    {545,1096.1,-1379.9,13.3,270.1909},//178
    {540,-2743.6772,-303.1675,7.1422,49.0919},//179 DERBY
    {482,1182.2568,-1219.2407,18.4163,0.5578},
    {547,1260.9978,-1187.1921,23.3559,183.3606},
    {550,1331.9304,-1081.3899,24.9941,90.4092},
    {551,1284.8755,-1525.5013,13.3451,269.4388},//near taxi
    {560,1279.1887,-1539.2032,13.3201,94.8070},//near taxi
    {566,1275.9120,-1646.7448,13.3273,267.2669},
    {405,-2200.5999,-2503.3606,30.4213,321.7648},
    {554,1253.9153,-1833.3832,13.1734,175.3692},
    {426,1279.2875,-1814.4156,13.1657,93.6385},
    {445,-2205.5234,-2439.3523,30.4224,51.1660},
    {492,1479.9131,-1737.8813,13.2418,269.5805},
    {507,1508.1047,-1737.7089,13.2418,270.0250},
    {545,1618.0411,-1891.1044,13.3278,0.3364},
    {540,1623.7291,-1892.7234,13.3307,180.0126},
    {482,-2079.6389,-2303.7983,30.3466,322.7155},
    {547,1743.5837,-1844.6041,13.3557,180.3384},
    {550,1838.1904,-1871.3842,13.1703,358.5452},
    {551,-1557.8568,-2741.5632,48.3481,144.5150},
    {560,1777.1376,-1910.0310,13.1681,91.0725},
    {566,-16.7753,-2503.6228,36.4593,121.7103},
    {566,1981.0780,-1986.3513,13.3275,2.1479},
    {405,218.4485,-173.3024,1.3809,90.0117},
    {554,199.5586,-155.4912,1.3827,0.3471},
    {426,1984.7471,-2066.7776,13.1625,359.7226},
    {445,1938.0565,-2086.8459,13.3429,268.3414},
    {492,318.4840,-86.0588,2.0804,90.9324},
    {507,-113.9556,-39.4382,2.9209,164.0464},


    Also irgend eins davon aber qwelche zahlen muss ich ändern ??


    Mfg.


    Franky0

  • Also nehmen wir mal das


    Code
    {405,-2125.7424,658.0462,52.2988,93.9612},//carid 90


    so 405, ist die car id


    -2125.7472, 658.0462, 52.2988, 93.9612
    ( das sind die x, y, z achsen ) (das ist die cord die entscheidet wie das auto steht z.b. ob es nach norden osten, westen oder süden zeigt)



    hoffe ich konnte helfen



    wie du die cordinaten bekommst sag ich auch gleich nochmal



    also du nimmst des auto steigst ein fährst dahin wo es stehen soll und gibst /save [name] ein den namen kannst du frei wählen is nur das du es auch besser findest.
    Dann gehst du in deinen GTA-SA ordner natürlich von deinem client und da gibts ne datei die heist savedpositions.txt und da stehen die coords dann dirnn



    mfg.:davidgo