Closed ismaelviac closed 4 years ago
Because it not save the vehicle data when you parking, it only change the status in database.
ok i fix it thanks i added this code MySQL.Async.execute('UPDATE owned_vehicles SET vehicle = @vehicle WHERE owner = @owner AND plate = @plate', { ['@owner'] = xPlayer.identifier, ['@vehicle'] = json.encode(vehicleData.props), ['@plate'] = plate })
If i modify a car and store it andget inpund any modifications done lost