• How to get client's mouse's target?
    2 replies, posted
How to get client's aim vector/position their mouse is aiming at when SWEP:PrimaryAttack() is called.
[IMG]http://wiki.garrysmod.com/favicon.ico[/IMG][URL="http://wiki.garrysmod.com/page/Player/GetEyeTrace"]Player:GetEyeTrace[/URL] [IMG]http://wiki.garrysmod.com/favicon.ico[/IMG][URL="http://wiki.garrysmod.com/page/Structures/TraceResult"]TraceResult Structure[/URL]
[QUOTE=AK to Spray;47602375][IMG]http://wiki.garrysmod.com/favicon.ico[/IMG][URL="http://wiki.garrysmod.com/page/Player/GetEyeTrace"]Player:GetEyeTrace[/URL] [IMG]http://wiki.garrysmod.com/favicon.ico[/IMG][URL="http://wiki.garrysmod.com/page/Structures/TraceResult"]TraceResult Structure[/URL][/QUOTE] Thanks!
Sorry, you need to Log In to post a reply to this thread.