• util.PixelVisible ;_;
    2 replies, posted
Hey guys! I ran into a problem because i really need the function and it simply does not work how i want it to work obviously lol I want to draw names on screen when the player is visible. I know how to draw it of course but to check if player is visible on screen? :I [CODE]util.PixelVisible( Vector position, number radius, pixelvis_handle_t PixVis )[/CODE] Vector position is obvious, radius also but the third argument? I also tried that: [CODE]util.PixelVisible(LocalPlayer():GetPos(),200,util.GetPixelVisibleHandle())[/CODE] But that does not work. :I
Why not use this? [url]http://wiki.garrysmod.com/page/Entity/IsLineOfSightClear[/url]
god, jeezy you saved my day, i think i love you will you marry me? say no for yes
Sorry, you need to Log In to post a reply to this thread.