Skip to content

Commit

Permalink
Removed unused event
Browse files Browse the repository at this point in the history
Co-authored-by: Zerio <[email protected]>
  • Loading branch information
Cocodrulo and Z3rio authored Nov 14, 2024
1 parent 19bdd38 commit de3f7ab
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ RegisterNetEvent('qb-vehiclekeys:server:setVehLockState', function(vehNetId, sta
SetVehicleDoorsLocked(NetworkGetEntityFromNetworkId(vehNetId), state)
end)

RegisterServerEvent("qb-vehiclekeys:server:synckeys", function(KeyList)
if not Config.SaveInDB then return end
local Player = QBCore.Functions.GetPlayer(source)
Player.Functions.SetMetaData("VehKeys", KeyList)
end)

QBCore.Functions.CreateCallback('qb-vehiclekeys:server:GetVehicleKeys', function(source, cb)
local Player = QBCore.Functions.GetPlayer(source)
if not Player then return end
Expand Down

0 comments on commit de3f7ab

Please sign in to comment.