1
0
Fork 0
forked from Simnation/Main

resources/[jobs]/[civ]/mh_jobgarage/server/server.lua aktualisiert

This commit is contained in:
Miho 2025-06-25 01:15:00 +02:00
parent 65f5ea800e
commit 6a3c0b44a7

View file

@ -34,6 +34,7 @@ AddEventHandler('mh_jobgarage:AddVehicleToJob', function(plate, stats)
MySQL.query("INSERT INTO mh_jobgarage(job, rang, value, plate, name, closed) VALUES (?, ?, ?, ?, ?, ?)", {pedjob, stats[3], stats[2], plate, stats[1], "false"}) MySQL.query("INSERT INTO mh_jobgarage(job, rang, value, plate, name, closed) VALUES (?, ?, ?, ?, ?, ?)", {pedjob, stats[3], stats[2], plate, stats[1], "false"})
MySQL.query("UPDATE player_vehicles SET citizenid = ? WHERE owner = ? and plate = ?", {pedjob, pedid, plate}) MySQL.query("UPDATE player_vehicles SET citizenid = ? WHERE owner = ? and plate = ?", {pedjob, pedid, plate})
TriggerClientEvent('mh_jobgarage:notify', source, "Schlüsselkasten", "Schlüssel Hinzugefügt!", "success")
end) end)