12.04.2017, 14:27
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);.
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); }