Change this:
Code:
if( !is_user_alive( attacker_id ) || !is_user_alive( victim_id ) ) {
return PLUGIN_HANDLED
}
to this:
Code:
if( !is_user_connected( attacker_id ) || !is_user_alive( victim_id ) ) {
return PLUGIN_HANDLED
}
If the attacker is dead and still has a nade out it'll now multiply the damage instead of nothing.
__________________