Update pharma.lua
This commit is contained in:
1 parent
992b5d7b26
commit
679d140ae7
1 file changed
+3
-3
+3
-3
@@ -51,9 +51,9 @@ 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('vicodin_prescription)
|
||||
local mor = Player.Functions.GetItemByName('vicodin_prescription)
|
||||
local xan = 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)
|
||||
|
||||
Reference in new issue
Block a user