PHP Code:
RegisterHam(Ham_TakeDamage, "info_target", "fwHam_takeDamage")
...
public fwHam_takeDamage() // huh ???
{
// ???
}
I don't have the slightest Ideea on how to make it... I want to check the damade dealt to an solid created entity, get attacker, damage, etc :}
also what pev_ values can I use for custom values on an entity... pev_iuserX are free for this type of usage ? :}
__________________