diff --git a/server-data/resources/[bpt_addons]/bpt_policejob/server/main.lua b/server-data/resources/[bpt_addons]/bpt_policejob/server/main.lua index b55098dbc..d47e85b07 100644 --- a/server-data/resources/[bpt_addons]/bpt_policejob/server/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_policejob/server/main.lua @@ -417,10 +417,7 @@ end) ESX.RegisterServerCallback("bpt_policejob:storeNearbyVehicle", function(source, cb, plates) local xPlayer = ESX.GetPlayerFromId(source) - local plate = MySQL.scalar.await( - "SELECT plate FROM owned_vehicles WHERE owner = ? AND plate IN (?) AND job = ?", - { xPlayer.identifier, plates, xPlayer.job.name } - ) + local plate = MySQL.scalar.await('SELECT plate FROM owned_vehicles WHERE owner = ? AND plate IN (?) AND job = ?', {xPlayer.identifier, plates, xPlayer.job.name}) if plate then MySQL.update(