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)