stock SpawnFahrzeuge(playerid){ new Float:X, Float:Y, Float:Z, Float:R, car, carart, f1, f2; X = GetPVarFloat(playerid, "AutoX"); Y = GetPVarFloat(playerid, "AutoY"); Z = GetPVarFloat(playerid, "AutoZ"); R = GetPVarFloat(playerid, "AutoRotation"); f1 = GetPVarInt(playerid, "Autofarbe1"); f2 = GetPVarInt(playerid, "Autofarbe2"); carart = GetPVarInt(playerid, "Autoid"); car = CreateVehicle(carart, X, Y, Z, R, f1, f2, -1); SetVehicleNumberPlate(car, Username(playerid)); SetVehicleToRespawn(car); SetPVarInt(playerid, "Carid", car); return 1;}
Alle Werte haben hier "0" oder "-1".
Die Werte hast du neu erstellt und musst diese neu auslesen.