Hey,
Wie mach ich den befehl /buycar , wenn der Spieler in einem der Autos sitzt , das dann die Nachricht kommt Wie viel das Kostet und wenn man dan /buycar macht das das Geld abgezogen wird und dan das auto in dem er sitzt , an einer Bestimmten Stelle gespawnt wird und bei Autos/....DTCAR oder so gespeichert wird...
Wie kann ich sowas machen?
AddStaticVehicle(505,783.7132,-1338.7854,13.6855,51.0725,16,16); //
AddStaticVehicle(603,783.6870,-1344.6272,13.3707,55.2179,8,1); //
AddStaticVehicle(467,783.7468,-1350.0323,13.2812,48.5383,6,0); //
AddStaticVehicle(587,783.3185,-1354.8007,13.2860,47.3160,6,0); //
AddStaticVehicle(580,783.9706,-1360.7701,13.3378,45.3463,1,1); //
AddStaticVehicle(517,783.7679,-1366.4290,13.3945,50.0946,13,13); //
AddStaticVehicle(410,783.9288,-1371.3583,13.2145,50.5331,8,8); //
AddStaticVehicle(546,783.6999,-1375.8505,13.3346,50.8913,12,12); //
AddStaticVehicle(474,782.6707,-1380.8574,13.4367,54.2636,1,1); //
AddStaticVehicle(542,763.4517,-1381.2257,13.4052,294.3808,11,11); //
AddStaticVehicle(445,762.6561,-1376.4185,13.4754,297.4424,7,7); //
AddStaticVehicle(533,761.6874,-1372.0651,13.2480,300.1498,4,4); //
AddStaticVehicle(492,761.2773,-1367.9380,13.2963,304.0190,18,18); //
AddStaticVehicle(400,760.6799,-1364.1429,13.6107,300.3750,1,1); //
AddStaticVehicle(545,759.8840,-1360.6538,13.3319,306.3968,3,3); //
AddStaticVehicle(405,745.6285,-1334.3204,13.4169,209.7843,6,6); //
AddStaticVehicle(600,750.4458,-1334.2898,13.2414,211.1464,8,8); //
AddStaticVehicle(507,755.7833,-1334.7074,13.3686,210.1205,9,9); //
AddStaticVehicle(589,760.1373,-1333.7909,13.2035,215.2252,3,7); //
AddStaticVehicle(495,765.4809,-1334.0248,13.8927,217.5533,8,8); //
AddStaticVehicle(560,770.4119,-1333.7177,13.0994,216.4063,1,2); //
AddStaticVehicle(479,743.7093,-1346.8580,13.3088,269.8801,1,1); // Parkplatz1
AddStaticVehicle(402,743.4990,-1342.3014,13.3548,268.7056,1,1); // Parkplatz2
Gruß
Trust