how much damage is one fist hit - 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: how much damage is one fist hit (
/showthread.php?tid=470583)
how much damage is one fist hit -
RedWolfX - 18.10.2013
Hello, I was just wondering how much damage a fist hit takes from you. And what animations is it when you are getting hit?
Re: how much damage is one fist hit -
-Prodigy- - 18.10.2013
Why don't you go test it?
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
printf("playerid: %d, issuerid: %d, amount: %.2f, weaponid: %d", playerid, issuerid, amount, weaponid);
return 1;
}
Same for the animation. Get the animations of the player under OnPlayerUpdate