View Single Post
Paimon
Member
Join Date: Jul 2021
Location: Zootopia
Old 02-02-2024 , 07:34   Re: [L4D2] How to get bullet fired direction?
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
Maybe you can use the "bullet_impact" event

bullet_impact
Structure:
short userid
float x
float y
float z
Find it at "CTerrorPlayer::FireBullet(Vector, QAngle const&, CSWeaponID, int)" in server.so
Maybe I could make a detour to get the origin and the direction.
I will try it tomrrow. Thanks!
__________________

Last edited by Paimon; 02-02-2024 at 07:45.
Paimon is offline