Update shrooms.lua
This commit is contained in:
1 parent
f48435cd61
commit
e80c027647
1 file changed
+2
-2
+2
-2
@@ -40,8 +40,8 @@ local src = source
|
|||||||
local Player = QBCore.Functions.GetPlayer(src)
|
local Player = QBCore.Functions.GetPlayer(src)
|
||||||
|
|
||||||
if TriggerClientEvent('md-drugs:client:takeshrooms', src, item.name) then
|
if TriggerClientEvent('md-drugs:client:takeshrooms', src, item.name) then
|
||||||
Player.Functions.RemoveItem('shrooms', 1)
|
Player.Functions.RemoveItem('shrooms', 1)
|
||||||
Notifys(Lang.Shrooms.trip, "success")
|
TriggerClientEvent("QBCore:Notify", src, Lang.Shrooms.trip, 'success')
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Reference in new issue
Block a user