10.09.2013, 23:09
Hello Kar,
so with this smart script you can "personalize" your WeaponDamage, so I've tryed to to GetPlayerHealth, and when he take a damage from any weapons he will receive -0dmg(if they are in the same team). So, It's will don't increase players health/armour.
But, I don't know if I do a mistake, I would simply simply use :
so with this smart script you can "personalize" your WeaponDamage, so I've tryed to to GetPlayerHealth, and when he take a damage from any weapons he will receive -0dmg(if they are in the same team). So, It's will don't increase players health/armour.
pawn Code:
new Float:HP;
GetPlayerHealth(playerid, HP); // We get his HP.
if(GetPlayerWeapon(issuerid)) SetPlayerHealth(playerid, HP-0);
pawn Code:
SetPlayerHealth(playerid, HP);