OnPlayerGiveDamage help.
#1

I made this:

Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
{
	if(PlayerIsWounded(damagedid))
	{
		SetPlayerHealth(damagedid, 20);
	}
    return 1;
}
When player attacks the player normally it works and with gun no.. it just kills the player
Reply


Messages In This Thread
OnPlayerGiveDamage help. - by PaulDinam - 22.02.2013, 10:47
Re: OnPlayerGiveDamage help. - by MP2 - 22.02.2013, 10:55
Re: OnPlayerGiveDamage help. - by PaulDinam - 22.02.2013, 11:00

Forum Jump:


Users browsing this thread: 1 Guest(s)