19.09.2011, 20:25
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);
same for gPlayerData[playerid][E_PLAYER_DEATHS]