-- It returns a boolean (if it was successfully updated)
exports['redutzu-mdt']:UpdateVehicle(plate, {
image = 'https://yourwebsite.com/'
}) -- boolean
local success = exports['redutzu-mdt']:UpdateVehicle('ABC1234', {
image = 'https://yourwebsite.com/'
})
if not success then
print('There was an error updating the vehicle')
return
end
print('Vehicle updated')