Disabling weapon damage
#4

pawn Код:
//Under OnPlayerTakeDamage//
new Float:m_health;
GetPlayerHealth(playerid, m_health);
SetPlayerHealth(playerid, m_health + amount);
return 1;
This will give them the health they lost.
Reply


Messages In This Thread
Disabling weapon damage - by Albon - 24.02.2015, 15:06
Re: Disabling weapon damage - by ball - 24.02.2015, 15:10
Re: Disabling weapon damage - by Albon - 24.02.2015, 15:26
Re: Disabling weapon damage - by De4dpOol - 24.02.2015, 15:30
Re: Disabling weapon damage - by CalvinC - 24.02.2015, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)