forked from Simnation/Main
Update server.lua
This commit is contained in:
parent
26f5f573da
commit
fd588f3f9c
1 changed files with 1 additions and 2 deletions
|
@ -69,10 +69,9 @@ QBCore.Functions.CreateCallback('mh_garage:CallVehicles', function(source, cb, z
|
|||
|
||||
Wait(100)
|
||||
if vehicle_keys[1] ~= nil then
|
||||
print(json.encode(vehicle_keys))
|
||||
for k, v in pairs(vehicle_keys) do
|
||||
MySQL.query("SELECT vehicle, plate, mods, name FROM player_vehicles WHERE plate = ?", {v}, function(rs)
|
||||
print(Player.PlayerData.citizenid)
|
||||
print(json.encode(rs))
|
||||
table.insert(vehicles, {
|
||||
vehicle = rs[1].vehicle,
|
||||
mods = rs[1].mods,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue