15.05.2012, 11:07
Hello.Today I create Perk system.I have 1 question.I made perk name Maximal Armour.And how to set this.When Shooter shoot the target(Other player).To take damage on armour 0.5 percent of full armour(When Shooter shoot target to take from target just 0.5 percent of full armour)
I trying to use this public but I dont have idea how to script it.
PS:My english is little bad when i am explaing
I trying to use this public but I dont have idea how to script it.
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(perk[playerid][MaxArmour] == 1)
{
}
return 1;
}