Description
the module playerviewlib and the command playerview allow you to get information about what a player is aiming. This library is fully compatible with OrangeBox games on Windows and Linux servers.
You can get the following informations:
[list]
[*]entity: get index of aimed entity
[*]player: get userid of aimed player
[*]weapon: get index of aimed weapon
[*]coord: get coordinates where the player is aiming
[/list]
http://forums.eventscripts.com/viewtopic.php?f=149&t=42292