08.01.2011, 13:50
Quote:
pawn Код:
|
I've just done that. This is my result:
Код:
100 A 80 H A: 100 - 80 (= 20) H: 100 - A = 100 - 20 = 80 Armour = 20 Health = 80
You get shot by ANY weapon (forget GetPlayerWeapon). It will do :
Armour = 100-80
Health = 100 - "Armour" (100-80) - 100 - 20
So armour will be 20 and health 80 now. (actually, it's a bit RP. In real, your armour won't gone first , then health)
And like I said, I forgot the GetPlayerWeapon
Use Wups code