K/D ratio
#4

pawn Код:
new Float:ratio=floatdiv(gPlayerData[playerid][E_PLAYER_KILLS], gPlayerData[playerid][E_PLAYER_DEATHS]);
format(string, sizeof(string), "Kill/Death Ratio: %.2f", ratio);
SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
replace gPlayerData[playerid][E_PLAYER_KILLS] with your player kills variable
same for gPlayerData[playerid][E_PLAYER_DEATHS]
Reply


Messages In This Thread
K/D ratio - by MP2 - 19.09.2011, 20:22
Re: K/D ratio - by [L3th4l] - 19.09.2011, 20:24
Re: K/D ratio - by =WoR=Varth - 19.09.2011, 20:25
Re: K/D ratio - by skullmuncher1337 - 19.09.2011, 20:25
Re: K/D ratio - by MP2 - 19.09.2011, 20:39
Re: K/D ratio - by skullmuncher1337 - 19.09.2011, 20:42
Re: K/D ratio - by =WoR=Varth - 19.09.2011, 20:43
Re: K/D ratio - by skullmuncher1337 - 19.09.2011, 20:45
Re: K/D ratio - by =WoR=Varth - 19.09.2011, 20:48
Re: K/D ratio - by MP2 - 19.09.2011, 21:04

Forum Jump:


Users browsing this thread: 1 Guest(s)