forked from Simnation/Main
resources/[jobs]/[civ]/mh_jobgarage/server/server.lua aktualisiert
This commit is contained in:
parent
82dfd312c5
commit
728ac0c2d1
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ AddEventHandler('mh_jobgarage:DeleteFromList', function(plate)
|
|||
local _source = source
|
||||
local Player = QBCore.Functions.GetPlayer(_source)
|
||||
local pedid = Player.PlayerData.citizenid
|
||||
local veh_opt = MySQL.query("SELECT * FROM mh_jobgarage WHERE plate = ?", {plate})
|
||||
local veh_opt = MySQL.query.await("SELECT * FROM mh_jobgarage WHERE plate = ?", {plate})
|
||||
print(json.encode(veh_opt))
|
||||
--local veh_opt = json.encode(veh_optt)
|
||||
|
||||
MySQL.query("SELECT * FROM vehicle_keys WHERE plate = ? and owner = ?", {plate, pedid}, function(rs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue