View Single Post
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 09-19-2017 , 07:22   [ISSUE] ExecuteHam(Ham_TakeDamage, ...)
Reply With Quote #1

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_TakeDamageid0id50.00)

Seems like an older problem, as seen here
https://forums.alliedmods.net/showthread.php?t=165055
__________________
Depresie is offline