Discord
Steam
/
Garry's Mod
/
Developers
/
How to get cli..
Login/Join
Event Log
How to get client's mouse's target?
2 replies, posted
Search
In This Thread
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.