forked from Simnation/Main
ed
This commit is contained in:
parent
5dd6e5a4e4
commit
a04a8e5143
36 changed files with 68 additions and 2 deletions
|
@ -28,8 +28,8 @@ QBCore.Functions.CreateCallback('tracking:server:trackVehicle', function(source,
|
|||
return
|
||||
end
|
||||
|
||||
-- Suche Fahrzeug in der Datenbank
|
||||
MySQL.Async.fetchAll('SELECT pv.*, p.charinfo FROM player_vehicles pv LEFT JOIN players p ON pv.citizenid = p.citizenid WHERE pv.plate = ?', {plate}, function(result)
|
||||
-- Suche Fahrzeug in der Datenbank mit Collation-Fix
|
||||
MySQL.Async.fetchAll('SELECT pv.*, p.charinfo FROM player_vehicles pv LEFT JOIN players p ON pv.citizenid COLLATE utf8mb4_general_ci = p.citizenid COLLATE utf8mb4_general_ci WHERE pv.plate = ?', {plate}, function(result)
|
||||
if result[1] then
|
||||
-- Extrahiere Besitzerinformationen
|
||||
local ownerInfo = "Unbekannt"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue