Register/Login System
#3

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);
Reply


Messages In This Thread
Register/Login System - by Zlaja - 03.04.2013, 20:44
Re: Register/Login System - by Sithis - 03.04.2013, 20:52
Re: Register/Login System - by HurtLocker - 03.04.2013, 20:54
Re: Register/Login System - by Zlaja - 03.04.2013, 21:19
Re: Register/Login System - by Konstantinos - 03.04.2013, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)