tweak(esx_weaponshop): uniform print

This commit is contained in:
Mycroft
2022-09-23 01:54:35 +01:00
parent 6c314820c9
commit 26f5327d3a
+2 -1
View File
@@ -19,7 +19,8 @@ ESX.RegisterServerCallback('esx_weaponshop:buyWeapon', function(source, cb, weap
local price = GetPrice(weaponName, zone)
if price == 0 then
print(('esx_weaponshop: %s attempted to buy a unknown weapon!'):format(xPlayer.identifier))
print(('[^3WARNING^7] Player ^5%s^7 attempted to buy Invalid weapon - %s!'):format(source, weaponName))
cb(false)
else
if xPlayer.hasWeapon(weaponName) then