19.09.2011, 20:22
This is the code I have at the moment:
But if I have no kills and no deaths, it says 'NAN' - how do I make it say 0.0?
pawn Код:
new Float:kd = float(kills)/float(deaths); // Arrays, but replaced with variables to make it simpler