If you mean :
player is walking Or jumping but in any case with a HE in hand. I guess it would be :
Code:
if ( (pev(id,pev_button) & IN_JUMP) || (pev(id,pev_button) & IN_FORWARD) ) {
new temp1,temp2;
if ( get_user_weapon(id,temp1,temp2) == 4 ) {
// Your Code
}
}
Identity of the He Grenade is 4.
So it check if wearer is wearing a weapon with 4 as an id.
(in my case i'm only checking if the user is jumping or walking forward)