Quote:
Originally Posted by fysiks
Why do you have a 1.0 in your function declaration? That doesn't even make any sense. You can't have random numbers in a function declaration. You need to follow the forward format for Ham_TakeDamage in ham_const.inc.
|
Because I read in the Ham Sandwich docs this:
function(this, idinflictor, idattacker, Float:damage, damagebits)
So I thought I would replace the function with:
Function(victim, cause, attacker, 1.0, damagebits)