Ok, so a small problem.
PHP Code:
public Action:OnTakeDamage(victim, &attacker, &inflictor, &Float:damage, &damagetype){
if(protection[victim]){
damage = 1.0;
return Plugin_Changed;
}
return Plugin_Continue;
}
When a client is protected and the damage is changed to 1, then rocket jumping and sticky jumping no longer works. Is there a way to fix this or will SDKHooks always do that when I change the damage?