OnPlayerTakeDamage & OnPlayerGiveDamage bug?
#2

try OnPlayerTakeDamage for only fist.

PHP Code:
public public OnPlayerTakeDamage(playeridissueridFloatamountweaponidbodypart)
{
    if(
weaponid == 0)
    {
        new 
Float:HP;
        
GetPlayerHealth(playeridHP);
        
SetPlayerHealth(playeridHP);
    }
    return 
1;

Reply


Messages In This Thread
OnPlayerTakeDamage & OnPlayerGiveDamage bug? - by Milak - 08.02.2018, 12:49
Re: OnPlayerTakeDamage & OnPlayerGiveDamage bug? - by Mugala - 08.02.2018, 12:52
Re: OnPlayerTakeDamage & OnPlayerGiveDamage bug? - by Milak - 08.02.2018, 12:58

Forum Jump:


Users browsing this thread: 2 Guest(s)