Skip to content

Commit

Permalink
Update main.lua
Browse files Browse the repository at this point in the history
Change error message to already existing one in locales
  • Loading branch information
CaptainStabs authored Nov 13, 2023
1 parent ede4b77 commit 55418e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ RegisterNetEvent('qb-pawnshop:client:pawnitems', function(item)
if tonumber(sellingItem.amount) <= item.amount then
TriggerServerEvent('qb-pawnshop:server:sellPawnItems', item.name, sellingItem.amount, item.price)
else
QBCore.Functions.Notify(Lang:t('error.max'), 'error')
QBCore.Functions.Notify(Lang:t('error.no_items'), 'error')
else
QBCore.Functions.Notify(Lang:t('error.negative'), 'error')
end
Expand Down

0 comments on commit 55418e8

Please sign in to comment.