mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Replace job by job.name
This commit is contained in:
@@ -499,7 +499,7 @@ end)
|
||||
|
||||
RegisterNetEvent('esx:setJob')
|
||||
AddEventHandler('esx:setJob', function(job)
|
||||
if isOnDuty and job ~= 'ambulance' then
|
||||
if isOnDuty and job.name ~= 'ambulance' then
|
||||
for playerId,v in pairs(deadPlayerBlips) do
|
||||
if Config.Debug then
|
||||
print("[INFO] removing dead player blip |" .. tostring(playerId))
|
||||
|
||||
Reference in New Issue
Block a user