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