PutPlayerInVehicle - Jede ID soll ein eigenes Fahrzeug bekommen

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
  • Hab ein neues Problem,


    undzwa habe ich schon variablen für die Fahrzeuge erstellt,


    Habe 50Fahrzeuge , will das ID 0 in Fahrzeug 1 rein geht usw..


    Nicht über einen Befehl sonder unter OnPlayerSpawn.

  • Bot1-Bot50


    Immer eine Zahl nach oben^^


    Bot1=AddStaticVehicle(471,-439.7398,-1793.4624,4.8884,82.8344,103,111); //
    Bot2=AddStaticVehicle(471,-436.4251,-1796.5607,4.1364,88.2194,103,111); //
    Bot3=AddStaticVehicle(471,-440.2732,-1796.4095,5.3932,88.6383,103,111); //
    Bot4=AddStaticVehicle(471,-446.6090,-1796.2823,6.6835,86.4304,103,111); //
    Bot5=AddStaticVehicle(471,-451.8795,-1795.6367,7.6789,85.6973,103,111); //
    Bot6=AddStaticVehicle(471,-459.0695,-1796.4316,8.3110,96.2163,103,111); //
    Bot7=AddStaticVehicle(471,-453.9211,-1798.0785,7.8403,94.0450,103,111); //
    Bot8=AddStaticVehicle(471,-448.3730,-1797.5746,7.1942,94.1791,103,111); //
    Bot9=AddStaticVehicle(471,-450.7540,-1802.5436,7.3075,91.7099,103,111); //
    Bot10=AddStaticVehicle(471,-447.4110,-1802.4260,7.0853,92.1831,103,111); //
    Bot11=AddStaticVehicle(471,-444.1488,-1802.2457,6.8253,93.0093,103,111); //
    Bot12=AddStaticVehicle(471,-448.6817,-1803.2651,7.1122,93.2087,103,111); //
    Bot13=AddStaticVehicle(471,-453.4696,-1803.5414,7.4244,93.5048,103,111); //
    Bot14=AddStaticVehicle(471,-458.5233,-1803.2639,7.7918,86.3457,103,111); //
    Bot15=AddStaticVehicle(471,-461.6275,-1802.5343,8.0571,76.5201,103,111); //
    Bot16=AddStaticVehicle(471,-466.2298,-1801.6750,8.4953,80.6769,103,111); //
    Bot17=AddStaticVehicle(471,-461.0011,-1807.1410,8.3986,63.7006,103,111); //
    Bot18=AddStaticVehicle(471,-460.8199,-1807.2366,8.3930,63.2840,103,111); //
    Bot19=AddStaticVehicle(471,-457.6571,-1810.3811,8.6146,44.0526,103,111); //
    Bot20=AddStaticVehicle(471,-456.3235,-1811.7935,8.7267,43.2875,103,111); //
    Bot21=AddStaticVehicle(471,-454.3868,-1813.9136,8.9020,42.1552,103,111); //
    Bot22=AddStaticVehicle(471,-452.4705,-1816.2229,8.9775,39.2820,103,111); //
    Bot23=AddStaticVehicle(471,-450.2444,-1819.1044,8.7359,34.0140,103,111); //
    Bot24=AddStaticVehicle(471,-459.3382,-1815.6431,9.8762,76.4921,103,111); //
    Bot25=AddStaticVehicle(471,-464.9824,-1813.9303,10.4374,75.4423,103,111); //
    Bot26=AddStaticVehicle(471,-471.4826,-1803.2599,9.7544,74.2217,103,111); //
    Bot27=AddStaticVehicle(471,-457.4430,-1814.6466,9.4772,57.2985,103,111); //
    Bot28=AddStaticVehicle(471,-455.2677,-1816.0992,9.3573,56.1856,103,111); //
    Bot29=AddStaticVehicle(471,-450.9447,-1813.8047,8.3696,46.7140,103,111); //
    Bot30=AddStaticVehicle(471,-454.8343,-1810.0726,8.1329,47.6338,103,111); //
    Bot31=AddStaticVehicle(471,-449.7115,-1807.9773,7.4268,87.0567,103,111); //
    Bot32=AddStaticVehicle(471,-453.0078,-1807.6560,7.6676,84.4359,103,111); //
    Bot33=AddStaticVehicle(471,-456.1591,-1807.0967,7.8727,76.0025,103,111); //
    Bot34=AddStaticVehicle(471,-458.6751,-1799.9130,8.0374,80.9962,103,111); //
    Bot35=AddStaticVehicle(471,-454.1593,-1800.1652,7.7097,89.0175,103,111); //
    Bot36=AddStaticVehicle(471,-450.3708,-1800.0164,7.4590,95.0653,103,111); //
    Bot37=AddStaticVehicle(471,-446.4055,-1799.5692,7.0234,95.2864,103,111); //
    Bot38=AddStaticVehicle(471,-442.0532,-1799.1664,6.0969,95.5852,103,111);
    usw..