Update shrooms.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-08-01 14:04:34 -07:00
1 parent 7bffb7b3b5
commit 60f3f6aa75
1 file changed
+2 -2
+2 -2
View File
@@ -19,7 +19,7 @@ RegisterNetEvent('shrooms:respawnCane', function(loc)
exports['qb-target']:AddTargetEntity(shrooms[loc], { exports['qb-target']:AddTargetEntity(shrooms[loc], {
options = { { icon = "fas fa-hand", label = "pick shrooms", action = function() if not progressbar(Lang.Shrooms.pick, 4000, 'uncuff') then return end TriggerServerEvent("shrooms:pickupCane", loc) end } options = { { icon = "fas fa-hand", label = "pick shrooms", action = function() if not progressbar(Lang.Shrooms.pick, 4000, 'uncuff') then return end TriggerServerEvent("shrooms:pickupCane", loc) end }
}, },
distance = 3.0 distance = 2.5
}) })
end end
end) end)
@@ -64,7 +64,7 @@ end)
exports['qb-target']:AddTargetEntity(shrooms[k], { exports['qb-target']:AddTargetEntity(shrooms[k], {
options = { { icon = "fas fa-hand", label = "Pick shrooms", action = function() if not progressbar(Lang.Shrooms.pick, 4000, 'uncuff') then return end TriggerServerEvent("shrooms:pickupCane", k) end } options = { { icon = "fas fa-hand", label = "Pick shrooms", action = function() if not progressbar(Lang.Shrooms.pick, 4000, 'uncuff') then return end TriggerServerEvent("shrooms:pickupCane", k) end }
}, },
distance = 3.0 distance = 2.5
}) })
end end
end end