Using ExecuteHam(Ham_TakeDamage) the value of the damage received is lower than the value specified
For example using the following script the user receives only about 33 damage when it should be 50
( The victim is not wearing any armor )
Any idea why this happens ?
PHP Code:
public plugin_init()
{
register_plugin("Test", "1.0", "Kore")
register_clcmd("say test", "clcmdtest")
}
public clcmdtest(id)
{
ExecuteHam(Ham_TakeDamage, id, 0, id, 50.0, 0)
}
Seems like an older problem, as seen here
https://forums.alliedmods.net/showthread.php?t=165055
__________________