From b0bc484cd137c85035b35a9d82f73bf043170393 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Fri, 23 Sep 2022 01:40:06 +0100 Subject: [PATCH] tweak(esx_taxijob): Uniform prints --- [esx_addons]/esx_taxijob/server/main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/[esx_addons]/esx_taxijob/server/main.lua b/[esx_addons]/esx_taxijob/server/main.lua index 33d1d624..7a268549 100644 --- a/[esx_addons]/esx_taxijob/server/main.lua +++ b/[esx_addons]/esx_taxijob/server/main.lua @@ -41,7 +41,7 @@ AddEventHandler('esx_taxijob:success', function() end) end else - print(('[esx_taxijob] [^3WARNING^7] %s attempted to trigger success (cheating)'):format(xPlayer.identifier)) + print(('[^3WARNING^7] Player ^5%s^7 attempted to ^5esx_taxijob:success^7 (cheating)'):format(source)) end end) @@ -49,7 +49,7 @@ ESX.RegisterServerCallback("esx_taxijob:SpawnVehicle", function(source, cb, mode local xPlayer = ESX.GetPlayerFromId(source) if xPlayer.job.name ~= "taxi" then - print(('[esx_taxijob] [^3WARNING^7] ^5%s^7 attempted to spawn a vehicle (not taxi job)'):format(xPlayer.identifier)) + print(('[^3WARNING^7] Player ^5%s^7 attempted to Exploit Vehicle Spawing!!'):format(source)) return end local SpawnPoint = vector3(Config.Zones.VehicleSpawnPoint.Pos.x, Config.Zones.VehicleSpawnPoint.Pos.y, Config.Zones.VehicleSpawnPoint.Pos.z) @@ -83,7 +83,7 @@ AddEventHandler('esx_taxijob:getStockItem', function(itemName, count) end end) else - print(('[esx_taxijob] [^3WARNING^7] %s attempted to trigger getStockItem'):format(xPlayer.identifier)) + print(('[^3WARNING^7] Player ^5%s^7 attempted ^5esx_taxijob:getStockItem^7 (cheating)'):format(source)) end end) @@ -110,7 +110,7 @@ AddEventHandler('esx_taxijob:putStockItems', function(itemName, count) end end) else - print(('[esx_taxijob] [^3WARNING^7] %s attempted to trigger putStockItems'):format(xPlayer.identifier)) + print(('[^3WARNING^7] Player ^5%s^7 attempted ^5esx_taxijob:putStockItems^7 (cheating)'):format(source)) end end)