Minigun damage
#4

Here you are

PHP код:
public OnPlayerGiveDamage(playeriddamagedidFloatamountweaponid)
{
if( 
weaponid == 38 // Minigun
{
new 
Float:Health;
GetPlayerHealth(playeridHealth);
SetPlayerHealth(playeridHealth+30); // Heals +30 the player once he get shoot'ed.. P.S You can change the value. For Example Health+100
}
return 
1;

Reply


Messages In This Thread
Minigun damage - by Dan. - 24.07.2012, 16:25
Re: Minigun damage - by RedJohn - 24.07.2012, 19:12
Re: Minigun damage - by Dan. - 25.07.2012, 20:58
Re: Minigun damage - by Alexis1999 - 25.07.2012, 21:10
Re: Minigun damage - by Dan. - 26.07.2012, 07:19
Re: Minigun damage - by Alexis1999 - 26.07.2012, 08:11
Re: Minigun damage - by Dan. - 26.07.2012, 08:16
Re: Minigun damage - by Alexis1999 - 26.07.2012, 08:20
Re: Minigun damage - by Dan. - 26.07.2012, 08:30
Re: Minigun damage - by Dan. - 26.07.2012, 14:58

Forum Jump:


Users browsing this thread: 2 Guest(s)