This commit is contained in:
ElPumpo
2018-11-09 22:18:39 +01:00
parent c9187dd6df
commit a93361737d
+1 -1
View File
@@ -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