Skip to content

Commit

Permalink
feat: GiveKeys export (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonybynMp4 authored Oct 18, 2023
1 parent a20bee2 commit 2b81f0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function GiveKeys(id, plate)
exports.qbx_core:Notify(id, Lang:t('notify.keys_taken'))
TriggerClientEvent('qb-vehiclekeys:client:AddKeys', id, plate)
end
exports('GiveKeys', GiveKeys)

function RemoveKeys(id, plate)
local citizenid = exports.qbx_core:GetPlayer(id).PlayerData.citizenid
Expand Down

0 comments on commit 2b81f0e

Please sign in to comment.