Garry's Mod

Garry's Mod

386 ratings
Money Detector
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
File Size
Posted
Updated
2.272 KB
28 Nov, 2012 @ 6:45pm
29 Nov, 2012 @ 8:57am
2 Change Notes ( view )

Subscribe to download
Money Detector

Description
A DarkRP addon that allows you to accurately detect money.

The original version for GMod 12 was made by philxyz, I (Muffin) fixed it up for GMod 13, because it is an exremely useful RP addon, especially for gunshops.
13 Comments
Tip tip m'lady collector 7 Aug, 2024 @ 6:10am 
an addon from 2012 is not gonna work idiot
TriggerHappy 1 Jan, 2016 @ 9:13am 
I have it but its not working
nitekiller3 13 Dec, 2015 @ 7:36pm 
You can fix this if you are still getting errors. I found that if you change line 25 in lua/weapons/gmod_tool/wire_moneydetector.lua to:

-- take out: if not ValidEntity(wmd) then return nil end and replace with
if not wmd:IsValid() then return nil end

Also change utilx to util as mentioned in philxyz's post/comment but instead replace line 92 as follows:

-- remove and replace local tr = util.GetPlayerTrace(player, player:GetCursorAimVector())
local tr = util.GetPlayerTrace(player, player:GetAimVector())
memelad 28 Sep, 2015 @ 2:28pm 
im trying to make a darkrp server so i can test out a dupe that needs this addon, but the game crashes when i try to start a new game (at least on darkrp)
AustinJacob 24 Jan, 2015 @ 10:18pm 
error that i can not get rid of



TEST [lua/entities/gmod_wire_moneydetector/cl_init.lua][lua/entities/gmod_wire_moneydetector/init.lua]
TEST [lua/entities/gmod_wire_moneydetector/init.lua][lua/entities/gmod_wire_moneydetector/init.lua]
FOUND IN ADDON [110639547]
TEST [lua/entities/gmod_wire_moneydetector/shared.lua][lua/entities/gmod_wire_moneydetector/init.lua]

[Money Detector] lua/entities/gmod_wire_moneydetector/init.lua:45: attempt to index field 'BaseClass' (a nil value)
1. unknown - lua/entities/gmod_wire_moneydetector/init.lua:45
how does it work?
philxyz 13 Apr, 2014 @ 6:15am 
Thanks for uploading this to the workshop and for crediting me, the error can be fixed by renaming 'utilx' to 'util'.
TylerB 28 Jan, 2014 @ 1:50am 
Useful, as always.
RAMZAM 5 Jun, 2013 @ 6:08am 
Adam, there's a new type of way to do that. Try using google.
Adam. 2 Dec, 2012 @ 7:38pm 
Added this to my workshop.vdf file for my server, doesn't work? Any help? >.<