04.03.2018, 00:41
OnPlayerWeaponShot only reports you bullet weapons (no RPGs).
To detect if a player has thrown a grenade, OnPlayerKeyStateChange will be helpful. (Note: sometimes player press KEY_FIRE and switch weapon instantly can trigger false positive, hence the grenade is not thrown but callback occurs).
To detect if a player has thrown a grenade, OnPlayerKeyStateChange will be helpful. (Note: sometimes player press KEY_FIRE and switch weapon instantly can trigger false positive, hence the grenade is not thrown but callback occurs).