forked from Simnation/Main
Update server.lua
This commit is contained in:
parent
6d63186878
commit
249996b2c9
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ AddEventHandler('mh_jobgarage:DeleteFromList', function(plate)
|
|||
local Player = QBCore.Functions.GetPlayer(_source)
|
||||
local pedid = Player.PlayerData.citizenid
|
||||
local keycounter = nil
|
||||
MySQL.query("SELECT value FROM mh_jobgarage WHERE plate = ?", {plate}, function(rs)
|
||||
MySQL.query.await("SELECT value FROM mh_jobgarage WHERE plate = ?", {plate}, function(rs)
|
||||
print("RS Value: "..json.encode(rs))
|
||||
if rs ~= nil and rs[1] ~= nil then
|
||||
keycounter = rs[1].value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue