From f5afa2d59619a0031cac2ed83f2e50afa80edacc Mon Sep 17 00:00:00 2001 From: Mycroft Date: Fri, 23 Sep 2022 01:31:03 +0100 Subject: [PATCH] tweak(esx_shops): Uniform Prints --- [esx_addons]/esx_shops/server/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[esx_addons]/esx_shops/server/main.lua b/[esx_addons]/esx_shops/server/main.lua index bbfcd6d8..c91bd169 100644 --- a/[esx_addons]/esx_shops/server/main.lua +++ b/[esx_addons]/esx_shops/server/main.lua @@ -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