public OnPlayerEvent_Damage(victim, inflictor, attacker, Float:damage, damagebits) { if(!is_user_alive(attacker)) return
if(get_user_weapon(attacker) == CSW_KNIFE) { // For first weapon if(g_damage[attacker] == true) { // This will increase the weapon damage by 2 times SetHamParamFloat(4,damage*2.0) }
}
}
THis is the code I am trying to reset damge to default on every round but its not getting :/