mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
tweak(esx_taxijob): Uniform prints
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user