06.04.2014, 07:01
Under OnPlayerTakeDamage callback, check if weaponid (aka reason for damage) is the explosion reason, which would be 51 for your case.
You can find a list of weapon/damage reason IDs here:
https://sampwiki.blast.hk/wiki/Weapons
You can find a list of weapon/damage reason IDs here:
https://sampwiki.blast.hk/wiki/Weapons