11.04.2019, 03:05
Quote:
Use o DOF2_GetInt(file[],key[],tag[]="");
Exemplo: PHP Code:
|
pawn Code:
CMD:meulevel(playerid)
{
new string[128], pname[MAX_PLAYER_NAME], file[50];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(file, sizeof(file), "Contas/%s.ini", pname);
format(string, sizeof(string), "O seu level atual й %d!", DOF2_GetInt(file, "Level"));
SendClientMessage(playerid, -1, string);
return 1;
}