13.08.2016, 10:20
Quote:
Yeah, resetting vehicle closes the windows, etc and resets fuel if vehicle is not owned. It doesn't repair the vehicle.
By the way, I don't see anything wrong in my code, what would be wrong with it? |
PHP код:
UpdateVehicleDamageStatus(CarData[carid][carVehicle], CarDamage[carid][0], CarDamage[carid][1], CarDamage[carid][2], CarDamage[carid][3]);
CoreVehicles[CarData[carid][carVehicle]][vehFuel] = CarData[carid][carFuel];
ResetVehicle(CarData[carid][carVehicle]);
PHP код:
CoreVehicles[CarData[carid][carVehicle]][vehFuel] = CarData[carid][carFuel];
ResetVehicle(CarData[carid][carVehicle]);
UpdateVehicleDamageStatus(CarData[carid][carVehicle], CarDamage[carid][0], CarDamage[carid][1], CarDamage[carid][2], CarDamage[carid][3]);