BallasVehs

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
  • Tag,



    Ich habe hier ein Paar Ballas Vehs


    Code :
    new BallasVehs[13];//Oben im Script


    BallasVehs[1] = AddStaticVehicleEx(409,1108.2559,-305.7929,73.7922,88.0846,85,85); // Ballas Car Limosine
    BallasVehs[2] = AddStaticVehicleEx(560,1067.2155,-288.4890,73.6973,176.9560,85,85); // Ballas Sultan 1
    BallasVehs[3] =AddStaticVehicleEx(560,1070.7324,-288.2589,73.6970,178.7860,85,85); // Ballas Sultan 2
    BallasVehs[4] = AddStaticVehicleEx(560,1074.1233,-288.0482,73.6938,177.8250,85,85); // Ballas Sultan 3
    BallasVehs[5] = AddStaticVehicleEx(560,1077.4114,-288.2624,73.6936,178.9399,85,85); // Ballas Sultan 4
    BallasVehs[6] = AddStaticVehicleEx(541,1045.1967,-308.4539,73.6180,179.5802,85,85); // Ballas Bullet 1
    BallasVehs[7] = AddStaticVehicleEx(541,1019.3036,-305.7567,73.6179,179.4973,85,85); // Ballas Bullet 2
    BallasVehs[8] = AddStaticVehicleEx(487,1112.1222,-299.1849,78.9708,90.7688,85,85); // Ballas Maverick
    BallasVehs[9] = AddStaticVehicleEx(468,1122.8419,-339.8326,73.7680,92.9974,85,85); // Ballas Sanchez
    BallasVehs[10] = AddStaticVehicleEx(468,1122.9290,-343.4342,73.6913,87.8777,85,85); // Ballas Sanchez 2
    BallasVehs[11] = AddStaticVehicleEx(468,1122.7675,-341.0161,73.7426,90.7616,85,85); // Ballas Sanchez 3
    BallasVehs[12] = AddStaticVehicleEx(468,1122.8193,-342.5386,73.7096,92.2062,85,85); // Ballas Sanchez 4


    Fehler Code :


  • Fang immer von [0] an.


    Sprich [0], [1],[2].... und mach bei new 13; einfach new 12;


    mfG

  • Ändere AddStaticVehicleEx zu AddStaticVehicle...oder gib hinten noch eine respawn Zeit ein :rolleyes:


    mfg. :thumbup:

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S


  • BallasVehs[0] = AddStaticVehicle(409,1108.2559,-305.7929,73.7922,88.0846,85,85,-1,-1,-1); // Ballas Car Limosine
    BallasVehs[1] = AddStaticVehicle(560,1067.2155,-288.4890,73.6973,176.9560,85,85,-1,-1,-1); // Ballas Sultan 1
    BallasVehs[2] = AddStaticVehicle(560,1070.7324,-288.2589,73.6970,178.7860,85,85,-1,-1,-1); // Ballas Sultan 2
    BallasVehs[3] = AddStaticVehicle(560,1074.1233,-288.0482,73.6938,177.8250,85,85,-1,-1,-1); // Ballas Sultan 3
    BallasVehs[4] = AddStaticVehicle(560,1077.4114,-288.2624,73.6936,178.9399,85,85,-1,-1,-1); // Ballas Sultan 4
    BallasVehs[5] = AddStaticVehicle(541,1045.1967,-308.4539,73.6180,179.5802,85,85,-1,-1,-1); // Ballas Bullet 1
    BallasVehs[6] = AddStaticVehicle(541,1019.3036,-305.7567,73.6179,179.4973,85,85,-1,-1,-1); // Ballas Bullet 2
    BallasVehs[7] = AddStaticVehicle(487,1112.1222,-299.1849,78.9708,90.7688,85,85,-1,-1,-1); // Ballas Maverick
    BallasVehs[8] = AddStaticVehicle(468,1122.8419,-339.8326,73.7680,92.9974,85,85,-1,-1,-1); // Ballas Sanchez
    BallasVehs[9] = AddStaticVehicle(468,1122.9290,-343.4342,73.6913,87.8777,85,85,-1,-1,-1); // Ballas Sanchez 2
    BallasVehs[10] = AddStaticVehicle(468,1122.7675,-341.0161,73.7426,90.7616,85,85,-1,-1,-1); // Ballas Sanchez 3
    BallasVehs[11] = AddStaticVehicle(468,1122.8193,-342.5386,73.7096,92.2062,85,85,-1,-1,-1); // Ballas Sanchez 4


  • BallasVehs[0] = AddStaticVehicle(409,1108.2559,-305.7929,73.7922,88.0846,85,85,-1); // Ballas Car Limosine
    BallasVehs[1] = AddStaticVehicle(560,1067.2155,-288.4890,73.6973,176.9560,85,85,-1); // Ballas Sultan 1
    BallasVehs[2] = AddStaticVehicle(560,1070.7324,-288.2589,73.6970,178.7860,85,85,-1); // Ballas Sultan 2
    BallasVehs[3] = AddStaticVehicle(560,1074.1233,-288.0482,73.6938,177.8250,85,85,-1); // Ballas Sultan 3
    BallasVehs[4] = AddStaticVehicle(560,1077.4114,-288.2624,73.6936,178.9399,85,85,-1); // Ballas Sultan 4
    BallasVehs[5] = AddStaticVehicle(541,1045.1967,-308.4539,73.6180,179.5802,85,85,-1); // Ballas Bullet 1
    BallasVehs[6] = AddStaticVehicle(541,1019.3036,-305.7567,73.6179,179.4973,85,85,-1); // Ballas Bullet 2
    BallasVehs[7] = AddStaticVehicle(487,1112.1222,-299.1849,78.9708,90.7688,85,85,-1); // Ballas Maverick
    BallasVehs[8] = AddStaticVehicle(468,1122.8419,-339.8326,73.7680,92.9974,85,85,-1); // Ballas Sanchez
    BallasVehs[9] = AddStaticVehicle(468,1122.9290,-343.4342,73.6913,87.8777,85,85,-1); // Ballas Sanchez 2
    BallasVehs[10] = AddStaticVehicle(468,1122.7675,-341.0161,73.7426,90.7616,85,85,-1); // Ballas Sanchez 3
    BallasVehs[11] = AddStaticVehicle(468,1122.8193,-342.5386,73.7096,92.2062,85,85,-1); // Ballas Sanchez 4


    Ok sry.
    sind tzd. 15 Warning´s bei new BallasVehs[13]; steht jetzt new BallasVehs[12];