Samp onplayertakedamage bodypart accuracy
#8

That will result in getting shot the second time the bullet hits the torso, when the player still does have armor.
I need it to be different for every single weapon based on the players armor which is set by equipping the kevlar using this: SetPlayerArmourEx(playerid,100);.
Код:
stock SetPlayerArmourEx(playerid,Float:AP)
{
 	if(AP>99.0)AP=99.0;
	Armor[playerid]=AP;
	return SetPlayerArmour(playerid,AP);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)