mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
tweak(esx_shops): Uniform Prints
This commit is contained in:
@@ -28,12 +28,12 @@ AddEventHandler('esx_shops:buyItem', function(itemName, amount, zone)
|
||||
amount = ESX.Math.Round(amount)
|
||||
|
||||
if amount < 0 then
|
||||
print('esx_shops: ' .. xPlayer.identifier .. ' attempted to exploit the shop!')
|
||||
print(('[^3WARNING^7] Player ^5%s^7 attempted to exploit the shop!'):format(source))
|
||||
return
|
||||
end
|
||||
|
||||
if not Exists then
|
||||
print('esx_shops: ' .. xPlayer.identifier .. ' attempted to exploit the shop!')
|
||||
print(('[^3WARNING^7] Player ^5%s^7 attempted to exploit the shop!'):format(source))
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user