diff --git a/server/main.lua b/server/main.lua index 2a66b62c..649f4ae3 100644 --- a/server/main.lua +++ b/server/main.lua @@ -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