This commit is contained in:
Mustache Dom committed 2024-11-05 00:46:12 -08:00
1 parent c7479b44ff
commit 3db581ac1e
6 files changed
+37 -33

No files matched your search

+1 -4
View File
@@ -20,10 +20,7 @@ function shroomsCooldown(loc)
end)
end
RegisterNetEvent("shrooms:pickupCane")
AddEventHandler("shrooms:pickupCane", function(loc)
local chance = math.random(1,10)
RegisterNetEvent("shrooms:pickupCane", function(loc)
if CheckDist(source, Config.shrooms[loc].location) then return end
if not Config.shrooms[loc].taken then
Config.shrooms[loc].taken = true