From e23e8c23ab505ea3c14e857dbf100b140f5ef75c Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Sat, 18 May 2024 13:18:25 -0700 Subject: [PATCH] Update pharma.lua --- server/pharma.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/pharma.lua b/server/pharma.lua index fe9cd71..c7dbc37 100644 --- a/server/pharma.lua +++ b/server/pharma.lua @@ -50,10 +50,10 @@ end RegisterServerEvent('md-drugs:server:fillprescription', function() local src = source local Player = QBCore.Functions.GetPlayer(src) - local vic = Player.Functions.GetItemByName('vicodin_prescription) - local add = Player.Functions.GetItemByName('adderal_prescription) - local mor = Player.Functions.GetItemByName('morphine_prescription) - local xan = Player.Functions.GetItemByName('xanax_prescription) + local vic = Player.Functions.GetItemByName('vicodin_prescription') + local add = Player.Functions.GetItemByName('adderal_prescription') + local mor = Player.Functions.GetItemByName('morphine_prescription') + local xan = Player.Functions.GetItemByName('xanax_prescription') if vic then RemoveItem('vicodin_prescription', 1 ) AddItem('vicodinbottle', 1)