Update weed.lua
This commit is contained in:
1 parent
1af114dd24
commit
1070a3d1a8
1 file changed
+1
-5
+1
-5
@@ -259,7 +259,7 @@ local keef = Player.Functions.GetItemByName("grindedweed")
|
||||
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items['dextrobluntwrap'], "remove", 1)
|
||||
end
|
||||
else
|
||||
Notifys(Lang.Weed.noweed, "error")
|
||||
|
||||
end
|
||||
end)
|
||||
|
||||
@@ -271,11 +271,7 @@ if Player.Functions.GetItemByName("butanetorch") then
|
||||
if Player.Functions.RemoveItem("shatter", 1) then
|
||||
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items["shatter"], "remove", 1)
|
||||
TriggerClientEvent("md-drugs:client:dodabs", src)
|
||||
else
|
||||
Notifys(Lang.Weed.noshat, "error")
|
||||
end
|
||||
else
|
||||
Notifys(Lang.Weed.notorch, "error")
|
||||
end
|
||||
end)
|
||||
QBCore.Functions.CreateUseableItem("bluntwrap", function(source, item)
|
||||
|
||||
Reference in new issue
Block a user