Thread
:
[Question] Entity Index
View Single Post
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
08-22-2019 , 14:12 Re: [Question] Entity Index
#
2
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.
__________________
I highly recommend joining the
SourceMod Discord Server
for real time support.
backwards
View Public Profile
Send a private message to backwards
Find More Posts by backwards