From a93361737ddea828959f802ca318903e8a2cb532 Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Fri, 9 Nov 2018 22:18:39 +0100 Subject: [PATCH] Fixed #92 --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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