Hm, maybe:
Code:
Float:effec(izStats[8])
{
if (!izStats[STATS_KILLS])
return _:0.0 // line 923
return (100.0 * float(izStats[STATS_KILLS]) / float(izStats[STATS_KILLS] + izStats[STATS_DEATHS]))
}
or also:
Code:
Float:effec(izStats[8])
{
if (!izStats[STATS_KILLS])
return _:0.0 // line 923
new result = 100 * izStats[STATS_KILLS] / (izStats[STATS_KILLS] + izStats[STATS_DEATHS]);
return float(result);
}
__________________