• No Collide Remover Tool broken, need replacement
    3 replies, posted
Read the title. It's been awhile since I've been in Gmod. I got everything going good, but I needed the No Collide Remover I got [url=http://www.facepunch.com/threads/929260-Does-someone-have-a-copy-of-Constraint-Remover?p=21583224&viewfull=1#post21583224]a long time ago[/url] from a person in here that gave me an SVN link to one: [url]http://divranspack.googlecode.com/svn/trunk/%20divranspack/NoCollide%20Remover[/url] It installed fine. I get into Gmod, and it gives me that damn "nil error" thing. AKA "I was broken a long time ago by one of Gmod's many updates and never got updated". So, I need a replacement No Collide Remover. It's kinda disappointing Garry himself doesn't make a STool that removes No Collides instead of depending on the community.
I'll get right on it. EDIT: Tested it, and I get no errors at all. Post the error message you get. EDIT2: I went ahead and changed it from using Reload to RightClick to remove all the nocollides, as that's more consistent with other tools.
Sorry that took so long. Had things to do. [code][gamemodes\sandbox\entities\weapons\gmod_tool\stool.lua:93] attempt to index a nil value[/code] What I get. EDIT: ... Odd. Ok. Since installing the thing and I got the nil error, ALL tools were getting the nil error. I tried killing myself to reset my weapons, and it fixed the nil value error. It still works! Thread can be closed. Sorry for the idioticness. I thought it was just that one tool, but it affected all of them until I killed myself and it got fixed.
I don't see how that has anything to do with my tool. Line 93 is just [code]function ToolObj:GetWeapon() return self:GetSWEP().Weapon or self.Weapon end[/code] which my tool doesn't use at all
Sorry, you need to Log In to post a reply to this thread.