Skip to content

Commit

Permalink
Merge pull request #192 from M4RFY/main
Browse files Browse the repository at this point in the history
 Fixes the gun reload
  • Loading branch information
GhzGarage authored Jun 13, 2024
2 parents 68a36ab + 7b6e156 commit d87e3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ local AmmoTypes = {

for ammoItem, properties in pairs(AmmoTypes) do
QBCore.Functions.CreateUseableItem(ammoItem, function(source, item)
TriggerClientEvent('weapons:client:AddAmmo', source, properties.ammoType, properties.amount, item)
TriggerClientEvent('qb-weapons:client:AddAmmo', source, properties.ammoType, properties.amount, item)
end)
end

Expand Down

0 comments on commit d87e3dc

Please sign in to comment.