03.04.2013, 20:54
To give you the idea:
pawn Код:
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), "\\users\\%s.ini", name);
kills=dini_Int(file, "Kills");
deaths=dini_Int(file, "Deaths");
R=float(kills)/float(deaths);
money=dini_Int(file, "Money");
score=dini_Int(file, "Score");
alv=dini_Int(file, "AdminLevel");
format(string,sizeof(string), "%s's STATS: [ Kills: %d || Deaths: %d || Ratio: %f || Money: %d || Score: %d || Admin level: %d ]", name, kills, deaths, R, money, score, alv);
SendClientMessage(playerid, 0x1E90FFFF, string);