SA-MP Forums Archive
increase punch damage - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: increase punch damage (/showthread.php?tid=415708)



increase punch damage - stix - 14.02.2013

is it possible to increase the punch damage in order to kill faster ?


Re: increase punch damage - IgrexolonO - 14.02.2013

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(weaponid == 0)
    {
		new Float:HP;
		GetPlayerHealth(playerid, HP);
		SetPlayerHealth(playerid, HP - valueOfMoreDamage);
    }
    return 1;
}



Respuesta: increase punch damage - stix - 14.02.2013

oh thanks thanks