mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Fixed #92
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ AddEventHandler('esx_ambulancejob:giveItem', function(itemName)
|
|||||||
if xPlayer.job.name ~= 'ambulance' then
|
if xPlayer.job.name ~= 'ambulance' then
|
||||||
print(('esx_ambulancejob: %s attempted to spawn in an item!'):format(xPlayer.identifier))
|
print(('esx_ambulancejob: %s attempted to spawn in an item!'):format(xPlayer.identifier))
|
||||||
return
|
return
|
||||||
elseif itemName ~= 'medikit' or itemName ~= 'bandage' then
|
elseif (itemName ~= 'medikit' and itemName ~= 'bandage') then
|
||||||
print(('esx_ambulancejob: %s attempted to spawn in an item!'):format(xPlayer.identifier))
|
print(('esx_ambulancejob: %s attempted to spawn in an item!'):format(xPlayer.identifier))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user