View Single Post
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 08-22-2019 , 14:13   Re: [Question] Entity Index
Reply With Quote #3

Quote:
Originally Posted by 1337norway View Post
use the onentitycreate callback and check if it's a grenade_projectile type. Then SDKHook its spawnpost function where you will check the netprop m_hThrower. Use EntRefToEntIndex to get the players index that threw the grenade projectile.
Thanks! Exactly what I was looking for.
Halt is offline