Fahrzeuge ins script einfügen

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


    Ich habe eine neue base gemappt doch die fahrzeuge kahmen nicht dort hin deshalb wollte ich sie dort hin mappen doch als ich es ins script einfügte kamen erros


    ich nutze zurzeit den German-Elite-Reallife script


    Brauche hilfe


    Danke im vorraus

  • Also ich habe dies mit * AddStaticVehEx* gemacht


    zbs so eins.:


    //Vermietungrentroller[1] = AddStaticVehicleEx(400,1370.5310,-1746.1807,13.6392,267.8060,1,0,respawntimevermietung); // Landstalker 250$rentroller[2] = AddStaticVehicleEx(415,1370.0914,-1752.0975,13.3197,268.9459,1,0,respawntimevermietung); // Cheetah 2500$rentroller[3] = AddStaticVehicleEx(458,1370.6024,-1757.8180,13.4192,270.8918,1,0,respawntimevermietung); // Solair 750$rentroller[4] = AddStaticVehicleEx(471,1370.1160,-1763.0990,13.0128,273.5548,1,0,respawntimevermietung); // Quad 1000$


    aber nur für die fahrschule habe die Variabelen eingestellt.


    new FahrschulVehs[27];


    Erros:
    [list=1][*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16650) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16651) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16652) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16653) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16654) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16655) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16656) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16657) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16658) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16659) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16660) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16661) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16662) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16663) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16664) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16665) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16666) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16667) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16668) : warning 202: number of arguments does not match definition
    [*]C:\Users\Acer\Desktop\GTA San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(16669) : error 032: array index out of bounds (variable "FahrschulVehs")
    [*]Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
    [*]1 Error.
    [/list]


    Fahrschulevehs die ich gemacht habe:

    [list=1][*]FahrschulVehs[0] = AddStaticVehicle(560,1252.8624,-1823.5538,13.1087,270.7415,1,1,respawntime); // FSAuto1
    [*] FahrschulVehs[1] = AddStaticVehicle(560,1252.8979,-1818.6219,13.1128,270.0290,1,1,respawntime); // FSAuto2
    [*] FahrschulVehs[2] = AddStaticVehicle(560,1252.6466,-1813.4894,13.1188,271.5021,1,1,respawntime); // FSAuto3
    [*] FahrschulVehs[3] = AddStaticVehicle(560,1252.6289,-1808.7509,13.1233,269.8498,1,1,respawntime); // FSAuto4
    [*] FahrschulVehs[4] = AddStaticVehicle(560,1277.2557,-1833.2792,13.0925,89.0439,1,1,respawntime); // FSAuto5
    [*] FahrschulVehs[5] = AddStaticVehicle(560,1276.9839,-1828.2832,13.0916,89.3026,1,1,respawntime); // FSAuto6
    [*] FahrschulVehs[6] = AddStaticVehicle(560,1277.3434,-1823.6165,13.0914,90.1450,1,1,respawntime); // FSAuto7
    [*] FahrschulVehs[7] = AddStaticVehicle(560,1277.3611,-1818.2415,13.0911,88.8156,1,1,respawntime); // FSAuto8
    [*] FahrschulVehs[8] = AddStaticVehicle(560,1277.2233,-1813.3726,13.0904,89.7429,1,1,respawntime); // FSAuto9
    [*] FahrschulVehs[9] = AddStaticVehicle(560,1277.3051,-1808.2683,13.0893,89.8622,1,1,respawntime); // FSAuto9
    [*] FahrschulVehs[10] = AddStaticVehicle(560,1277.3058,-1808.2678,13.0899,89.8995,1,1,respawntime); // FSAuto10
    [*] FahrschulVehs[11] = AddStaticVehicle(560,1276.9971,-1803.2294,13.0910,89.4982,1,1,respawntime); // FSAuto11
    [*] FahrschulVehs[12] = AddStaticVehicle(560,1277.0941,-1798.2610,13.0958,89.5724,1,1,respawntime); // FSAuto12
    [*] FahrschulVehs[13] = AddStaticVehicle(522,1196.7939,-1821.0011,13.1515,91.6133,1,1,respawntime); // FSBike1
    [*] FahrschulVehs[14] = AddStaticVehicle(522,1199.9059,-1820.9720,13.1490,86.9544,1,1,respawntime); // FSBike2
    [*] FahrschulVehs[15] = AddStaticVehicle(522,1202.9219,-1820.8828,13.1547,90.3604,1,1,respawntime); // FSBike3
    [*] FahrschulVehs[16] = AddStaticVehicle(522,1205.9895,-1820.9954,13.1646,90.5373,1,1,respawntime); // FSBike4
    [*] FahrschulVehs[17] = AddStaticVehicle(522,1208.7466,-1821.0367,13.1623,90.5089,1,1,respawntime); // FSBike5
    [*] FahrschulVehs[18] = AddStaticVehicle(487,1202.4294,-1778.7335,33.8584,178.8352,1,1,respawntime); // FSHeli1
    [*] FahrschulVehs[19] = AddStaticVehicle(487,1156.2385,-1779.8969,33.8052,174.9967,1,1,respawntime); // FSHeli2
    [/list]

    Einmal editiert, zuletzt von [iR]Maho ()