Raised This Month: $51 Target: $400
 12% 

[ISSUE] ExecuteHam(Ham_TakeDamage, ...)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode