Weapon Damage
#4

Put this under OnPlayerTakeDamage

Код:
	new Float:HP;
	GetPlayerHealth(playerid, HP);
	if(weaponid == change) SetPlayerHealth(playerid, HP-change); // change this to the weapon ID you want and how much health it will take from the other player per hit.
        return 1;
Reply


Messages In This Thread
Weapon Damage - by Blackazur - 23.10.2012, 14:18
Re: Weapon Damage - by lorizz - 23.10.2012, 14:23
Re: Weapon Damage - by gtakillerIV - 23.10.2012, 14:26
Re: Weapon Damage - by Dizzle - 23.10.2012, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)