Update mescaline.lua

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