11.01.2015, 08:11
Quote:
|
In statistics, ratio = mean (mean/mode/median).
So basically you'd have to sum up the kill+death then divide it by the amount of kill one player has. |
You're talking about 'average', that's a completely different thing.ratio = kills / deaths
Therefore,
pawn Код:
new Float:KillDeathRatio;
if(PlayerInfo[giveid][Deaths] != 0) KillDeathRatio = PlayerInfo[giveid][Kills] / PlayerInfo[giveid][Deaths];
//Deaths must not be equal to 0, as you cannot divide by 0.


