Thread
:
[Question] Entity Index
View Single Post
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
08-22-2019 , 14:13 Re: [Question] Entity Index
#
3
Quote:
Originally Posted by
1337norway
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
View Public Profile
Send a private message to Halt
Visit Halt's homepage!
Find More Posts by Halt