Quote:
Originally Posted by Cristhian
tente:
pawn Код:
new Nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, Nome, sizeof(Nome)); new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); new String[128]; format(String, sizeof(String), CAMINHO_PARA_CONTA, Nome); PlayerInfo[playerid][pHelper] = dini_Int(udb_encode(playername), "level"); return 1;
OBS: Troco o "CAMINHO_PARA_CONTA" pelo caminho das contas, por exemplo: "Players/%s.ini"
REP+ ?
|
troque o pHelper pelo enum que vc usa pra dizer que tal player tem tal level de helper, exemplo:
pawn Код:
enum pInfo
{
pHelper,
}
new PlayerInfo[MAX_PLAYERS][pInfo];