Untitled

 avatar
unknown
plain_text
2 years ago
471 B
3
Indexable
public grenade_secondary_attack(const ent)
{
	if (pev_valid(ent)) {
		new id = get_pdata_cbase(ent, 41, 4), buttons = pev(id, pev_button);
		grenadeThrow[id] = (buttons & IN_ATTACK) ? NORMAL : MEDIUM;
		ExecuteHamB(Ham_Weapon_PrimaryAttack, ent);
	}
}

public grenade_primary_attack(const ent)
{
	if (pev_valid(ent)) {
		new id = get_pdata_cbase(ent, 41, 4), buttons = pev(id, pev_button);
		grenadeThrow[id] = (buttons & IN_ATTACK) ? NORMAL : MEDIUM;
	}
}
Editor is loading...