20.08.2011, 15:18
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..
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..