Update server.lua
This commit is contained in:
parent
41669c8ec4
commit
5a13e08954
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ AddEventHandler('mh_jobgarage:DeleteFromList', function(plate)
|
|||
local pedid = Player.PlayerData.citizenid
|
||||
local keycounter = nil
|
||||
MySQL.query("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
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue