How do I check if a player was damaged by a normal he-grenade?
I'm trying to do so in SDKHooks_OnTakeDamage. There is a parameter called &weapon, how do I use that? Printing the &weapon as an int returned -1.
Any other weapon would also be nice to know.
This is for CS:GO.
EDIT: Thank you to everyone!
For anyone interested, see how I did it at my last comment.