K/D ratio
#4

Try this:
new Float:Ratio;
Ratio = PlayerInfo[playerid][pRKills] / PlayerInfo[playerid][pRDeaths];
format(KD, sizeof KD, "Kills: %i ~n~Deaths: %i ~n~K/D Ratio: %f",PlayerInfo[playerid][pRKills], PlayerInfo[playerid][pRDeaths],Ratio);

Im a newbie, but that might work..
Reply


Messages In This Thread
K/D ratio - by Wesley221 - 20.08.2011, 14:58
Re: K/D ratio - by Lorenc_ - 20.08.2011, 15:01
Re: K/D ratio - by Wesley221 - 20.08.2011, 15:14
Re: K/D ratio - by Machida - 20.08.2011, 15:18
Re: K/D ratio - by Lorenc_ - 20.08.2011, 15:18
Re: K/D ratio - by Wesley221 - 20.08.2011, 15:27
Re: K/D ratio - by Lorenc_ - 20.08.2011, 15:30
Re: K/D ratio - by Pinguinn - 20.08.2011, 15:32
Re: K/D ratio - by Wesley221 - 20.08.2011, 16:39
Re: K/D ratio - by Pinguinn - 20.08.2011, 16:56
Re: K/D ratio - by Wesley221 - 20.08.2011, 17:03

Forum Jump:


Users browsing this thread: 1 Guest(s)