forked from Simnation/Main
[GARAGE] Ausparken
This commit is contained in:
parent
e89bac3c6d
commit
8042ad195d
2 changed files with 80 additions and 2 deletions
|
@ -143,4 +143,9 @@ QBCore.Functions.CreateCallback('mh_garage:verwaltung', function(source, cb)
|
|||
end
|
||||
end)
|
||||
return vehicles
|
||||
end)
|
||||
|
||||
RegisterServerEvent('mh_garage:spawnedVehicle')
|
||||
AddEventHandler('mh_garage:spawnedVehicle', function(netID, plate)
|
||||
MySQL.query("UPDATE player_vehicles SET parking = ? WHERE plate = ?", {0, plate})
|
||||
end)
|
Loading…
Add table
Add a link
Reference in a new issue