04.09.2011, 13:09
Another comment:
Have you ever heard of GetPlayerCameraFrontVector function? This would make the whole thing much more accurate instead of just checking angles and position.
Take a look at wups' OnPlayerShootPlayer which is a very good and efficient implementation of this.
Have you ever heard of GetPlayerCameraFrontVector function? This would make the whole thing much more accurate instead of just checking angles and position.
Take a look at wups' OnPlayerShootPlayer which is a very good and efficient implementation of this.