problem with ratio
#4

You fucked up your calculations...

Код:
new Float:ratio = PlayerKills[killerid]/PlayerDeaths[playerid];
K/D ratios are usually based on the player themselves. Not a combination of the players deaths and the killers kills, as in a 1 on 1, this will simply be 1 as for each kill, the player dies.


This isn't the place to hand out code either, as unless you learn the mistake you made, then pasting you code will not aid you in the longer term.


It's also not the section to be looking for code in such a simple situation as this.
Reply


Messages In This Thread
problem with ratio - by wallen - 26.01.2018, 14:30
Re: problem with ratio - by RowdyrideR - 26.01.2018, 15:02
Re: problem with ratio - by wallen - 27.01.2018, 12:15
Re: problem with ratio - by Sew_Sumi - 27.01.2018, 12:32
Re: problem with ratio - by wallen - 27.01.2018, 13:39
Re: problem with ratio - by Sew_Sumi - 27.01.2018, 13:45
Re: problem with ratio - by wallen - 27.01.2018, 14:08
Re: problem with ratio - by Sew_Sumi - 27.01.2018, 16:02
Re: problem with ratio - by iSteve - 27.01.2018, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)