[Ajuda] bIni
#4

descobri o erro --'

pawn Код:
stock RegistrarJogador(playerid, Senha[])
{
    new string[128];
    format(string, sizeof(string), "Jogadores/%s.txt", GetPlayerNameEx(playerid));
    strmid(PlayerInfo[playerid][pSenha], Senha, 0, strlen(Senha), 255);
    INI_Create(string);
    INI_Open(string);
    INI_WriteString("Senha", Senha);
    INI_WriteInt("Level", PlayerInfo[playerid][pLevel]);
    INI_WriteInt("Dinheiro", PlayerInfo[playerid][pDinheiro]);
    INI_Save();
    INI_Close();
    ShowPlayerDialog(playerid, BoxLogar, DIALOG_STYLE_PASSWORD, "Login", "Registrado.\n\nInsira sua Senha:", "Logar", "Sair");
    return 1;
}

tentas.
Reply


Messages In This Thread
[Ajuda] bIni - by Dr_Pawno - 22.10.2011, 21:32
Re: [Ajuda] bIni - by [O.z]Caroline - 22.10.2011, 21:36
Re: [Ajuda] bIni - by Dr_Pawno - 22.10.2011, 21:41
Re: [Ajuda] bIni - by [O.z]Caroline - 22.10.2011, 21:43
Re: [Ajuda] bIni - by Dr_Pawno - 22.10.2011, 21:47
Re: [Ajuda] bIni - by [O.z]Caroline - 22.10.2011, 22:04

Forum Jump:


Users browsing this thread: 1 Guest(s)