PHP Code:
if( equal( szWeapon , "weapon_smokegrenade" ) || equal( szWeapon , "weapon_flashbang" ) || equal( szWeapon , "weapon_hegrenade" ) , equal( szWeapon , "weapon_c4" ) )
{
return PLUGIN_HANDLED
}
This is useless, if you really want to check, then check weaponid it is faster.
No check result in the array to be filled, it's not really a problem.
For victim check, you register the ham forward with classname "player", so victim can't be any other entity than a player, that's why the check is useless.
__________________