i missed a ''
This commit is contained in:
1 parent
51841fb5c9
commit
bbed82e3e1
1 file changed
+1
-1
@@ -43,7 +43,7 @@ local Player = QBCore.Functions.GetPlayer(src)
|
|||||||
|
|
||||||
if Player.Functions.RemoveItem("cactusbulb", 1) then
|
if Player.Functions.RemoveItem("cactusbulb", 1) then
|
||||||
Player.Functions.AddItem("driedmescaline", 1)
|
Player.Functions.AddItem("driedmescaline", 1)
|
||||||
TriggerClientEvent('inventory:client:ItemBox', source, QBCore.Shared.Items[driedmescaline], "add", 1)
|
TriggerClientEvent('inventory:client:ItemBox', source, QBCore.Shared.Items['driedmescaline'], "add", 1)
|
||||||
else
|
else
|
||||||
TriggerClientEvent('QBCore:Notify', src, "No Cactus Bulbs", "error")
|
TriggerClientEvent('QBCore:Notify', src, "No Cactus Bulbs", "error")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user