-- It returns a boolean (if it was successfully updated)
exports['redutzu-mdt']:UpdateCitizen(identifier, {
notes = 'New notes',
incidents = { 1, 7, 10 }
}) -- boolean
local success = exports['redutzu-mdt']:UpdateCitizen('license:1234', {
image = 'https://i.pinimg.com/736x/98/1d/6b/981d6b2e0ccb5e968a0618c8d47671da.jpg',
vehicles = { 'XYZ987' }
})
if not success then
print('There was an error updating the citizen')
return
end
print('Citizen updated')