PivityGmodStore

Zero´s Gold Digger 🐔 (Gold Script)

(10)(290)

You can always read the reviews or discuss this product

ΔCΣ ShadyzPurchasedposted edited

Line 104 - /lua/zgoldwash/shovel/sv_shovel.lua

Issue: Players standing next to bucket of other players also digging gold will sometimes put dirt into other players bucket rather than putting into own players bucket.

Fix:

 local bucket

  for k,v in pairs(zgw.Buckets) do

    if IsValid(v) and zclib.util.InDistance(ply:GetPos(), v:GetPos(), 150) and v:GetDirt() < zgw.config.Bucket.MaxDirt and zclib.Player.IsOwner(ply, v) then

      bucket = v

      break

    end

  end

LionPurchasedposted

Won from the Calendar, cant wait to use it :D

ZerochainAuthorposted

Geralt of Rivia Its also disabled in the pastebin. Its just a examble anyway and it actully better to use/write them outside of the main addon anyway so that updating the main addon doesent override them.

Geralt of Riviaposted

lol, i just looked in pastebin (click) mentioned in "Config/Dev" tab and recreated this code to see how much it costs to execute. If they are disabled by default - then it's ok

ZerochainAuthorposted

Geralt of Rivia Its a custom hook and the print functions are disabled by default. Its just to show what which value means for the developer and should be removed of course.

Your code differs a lot so im guessing you either use some leak or the guy who does use this hook kept the print function in.

Geralt of Riviaposted

Plus 114 microseconds every hook call, why? Just to print smth?

https://imgur.com/a/CvIzy26

Geralt of Riviaposted edited

Do you even know, that printing in console is very expensive operation? Why are you making SIX prints, it's not even debug hooks, wtf?

Deltaaposted edited

Eine Art Feuersystem als Addon von dir wäre cool!

ZerochainAuthorposted

NOKIEQU There is no translation system this time. Its only a few lines so its inside the config file.

NOKIEQUposted

Hey, I really like your addon.

Would you like me to translate it to polish language?

Wolflixposted

Looks lit Zero did it again GLWS mate

Wolflixposted

Looks lit Zero did it again GLWS mate

ThatCatGuyposted

NGL that looks amazing I watch these sort of shows on TV fantastic work again Zero.

Aws0meposted

Owain do u want to be my girlfriend?

Owainposted

More like girlfriend simulator

Benposted

server owner simulator very nice

Brickwallposted

Looks great like all your other scripts, GLWS :)

Stromicposted

Amazing script, looks sick!

Christofferposted

Extremely high quality addons as always. You always surprise me. GLWS

Fleodonposted

Marvelous script, GLWS

Timmyposted

Really cool idea and models! GLWS

Matrixposted

Finally I can dig for gold and sell it to the gods above. Very nice addon. Goodluck!

[SFN] TrippyyPurchasedposted edited

This looks cool af GLWS (looked a bit too cool, had to purchase it myself :p)