Znajdź:
new dam = damage-player_dextery[a]*2
change_health(a,-dam,id,"grenade")
Effect_Bleed(a,248)
zamień na
new dam = damage-player_dextery[a]*2
if (dam < 0) Effect_Bleed(a,248)
else {
Effect_Bleed(a,248)
change_health(a,-dam,id,"grenade")
}
Dla wersji 5.8d
Znajdź:
new dam = damage-player_dextery[a]*2
if (get_user_health(a)-dam < 5)
UTIL_Kill(id,a,"grenade")
else
{
set_user_health(a,get_user_health(a)-dam)
Effect_Bleed(a,248)
}
zamień na
new dam = damage-player_dextery[a]*2
if (dam < 0)
Effect_Bleed(a,248)
else
{
if (get_user_health(a)-dam < 5)
UTIL_Kill(id,a,"grenade")
else
{
set_user_health(a,get_user_health(a)-dam)
Effect_Bleed(a,248)
}
}