How do I change the vehicle hash that comes out when looking for a person?
I want the vehicle name to be there?
elseif data.tip == "arac" then
MySQL.Async.fetchAll("SELECT * FROM owned_vehicles WHERE owner = @owner", {
['@owner'] = data.data
}, function (result)
if result then
cb(result)
end
end)
------
elseif data.tip == "plaka" then
MySQL.Async.fetchAll("SELECT * FROM owned_vehicles LEFT JOIN users ON owned_vehicles.owner = users.identifier WHERE owned_vehicles.plate LIKE @plate LIMIT 30", {
['@plate'] = '%'..data.data..'%'
}, function (result)
if result then
cb(result)
end
end)
end