11.08.2011, 00:31
Make a new var like:
Then,
EDIT: Oh, erm.
pawn Code:
new variable;
pawn Code:
variable = dini_Get(formattedfilehere,"Level");
pawn Code:
CMD:stats(playerid, params[])
{
new file[36], Level, name[24], string[42];
GetPlayerName(playerid, name, 24);
format(file, sizeof file, "/Users/%s.ini",name);
Level = dini_Get(file, "Level");
format(string, sizeof string, "[%s] Admin Level: %d",name,level);
SendClientMessage(playerid, blue, string);
return 1;
}