tweak(esx_taxijob): Uniform prints

This commit is contained in:
Mycroft
2022-09-23 01:40:06 +01:00
parent a788380ef7
commit b0bc484cd1
+4 -4
View File
@@ -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)