08.02.2013, 17:54
I think the problem is with the variable armor....how are you getting this? If it wasn't already fetched before the code block you posted, it will always be equal to 0.
Код:
if(weaponid == 24) //deagle { new Float:a; GetPlayerArmour(playerid, a); if(a > 0.0) { pDamage[playerid] += 15; } else { pDamage[playerid] += 30; } }