I'm making a "Thermal Vision" SWEP for detectives in TTT and I forgot how to make a player show through the wall.
Can someone give me an example of how to find players in a range of say, 1000 units and then show them through walls?
For an example, just check out any ESP on garrysmod.org, such as [URL="http://www.garrysmod.org/downloads/?a=view&id=63274"]this.[/URL] I looked through that myself and it looks like some pretty sketchy code, but then again it may have to be. As for the 1000 units range, definitely use [b][url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexf7e1-2.html?title=Ents.FindInSphere]Ents.FindInSphere [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] or [b][url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexac6c.html?title=Ents.FindInBox]Ents.FindInBox [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]. However, be careful; if you are running those functions on a hook that runs often (such as think, or paint), it [I]may [/I]cause lag.
[QUOTE=InfernalCookie;35279501]I'm making a "Thermal Vision" SWEP for detectives in TTT and I forgot how to make a player show through the wall.
Can someone give me an example of how to find players in a range of say, 1000 units and then show them through walls?[/QUOTE]
Hmm, Detectives with Thermal Vision? omgz ss13 ripoff gtfo
But seriously, you may want to ask around about stencil buffers.
Lol what is ss13? But yeah I'm probably just going to rip out a bunch of stuff from wall hacks because I have no idea how to use "stencil buffers"... I'll look around for tutorials and ways to learn it afterwards :P
Sorry, you need to Log In to post a reply to this thread.