mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 21:01:43 +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
|
||||
print(('esx_ambulancejob: %s attempted to spawn in an item!'):format(xPlayer.identifier))
|
||||
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))
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user