Update pharma.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-05-18 13:18:25 -07:00
1 parent 8155ace51e
commit e23e8c23ab
1 file changed
+4 -4
+4 -4
View File
@@ -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)