Update server.lua

This commit is contained in:
Miho931 2025-06-25 12:20:47 +02:00
parent 41669c8ec4
commit 5a13e08954

View file

@ -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