• Local Type Chat Radius
    6 replies, posted
--snip-- Did it by my self thanks tho :D
[QUOTE=Ezo;49406391]--snip-- Did it by my self thanks tho :D[/QUOTE] You should mark the thread as solved.
Or atleast help others by providing your solution.
[QUOTE=whitestar;49407063]Or atleast help others by providing your solution.[/QUOTE] For anybody trying to do this themselves, use: [url]http://wiki.garrysmod.com/page/ents/FindInSphere[/url] and [url]http://wiki.garrysmod.com/page/chat/AddText[/url]
[QUOTE=warlock123;49426142]For anybody trying to do this themselves, use: [url]http://wiki.garrysmod.com/page/ents/FindInSphere[/url] and [url]http://wiki.garrysmod.com/page/chat/AddText[/url][/QUOTE] [url]http://wiki.garrysmod.com/page/GM/PlayerCanSeePlayersChat[/url] ?
I heard that FindInSphere was resource expensive... Wouldn't it be easier to just use the function provided by RealDope, and check whether the distance between the players is x?
Yup. Find in Sphere loops over all entities in the map. You'd be much better doing a manual loop over just the players.
Sorry, you need to Log In to post a reply to this thread.