forked from Simnation/Main
resources/[jobs]/[civ]/mh_jobgarage/server/server.lua aktualisiert
This commit is contained in:
parent
65f5ea800e
commit
6a3c0b44a7
1 changed files with 1 additions and 0 deletions
|
@ -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("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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue