[Ajuda] registro
#1

desculpe pelo 2 є poste , eu tenho um antigo sistema de registro e tentei passar ele pra dof2 que nem fica os comandos em zcmd mas ta dificil aqui eu ainda to acabando mais presciso de ajuda vlw

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    new aname[MAX_PLAYER_NAME];//5000, 0
 //linha 91/*   format(file, sizeof(file), P_CONTAS, aname);//defino aqui aonde o a conta do player
    SetPlayerSkin(playerid,dini_Int(file, "Skin"));
    PlayerInfo[playerid][Logado] = 0;
    SetPlayerInterior(playerid, 0);
   
    SetPlayerPos(playerid,2128.0952,35.1667,39.1944);
    SetPlayerCameraPos(playerid,2106.9905,35.4213,35.5485);
    SetPlayerCameraLookAt(playerid,2128.0952,35.1667,39.1944);
    SetPlayerFacingAngle(playerid, 85.0331);
    SetPlayerInterior(playerid, 0);
    GetPlayerName(playerid, aname, sizeof(aname));
    if(PlayerInfo[playerid][Logado] == 0)
    {
        dini_Exists             DOF2_FileExists
        {
            format(STRX, sizeof(STRX), "Usuбrio: %s\nInsira uma senha:", aname);
            ShowPlayerDialog(playerid, REGISTRO, DIALOG_STYLE_PASSWORD, "Registrar", STRX, "Registrar", "Sair");
            SetPlayerSkin(playerid, 4);
        }
        dini_Exists             DOF2_FileExists
        {
            format(STRX, sizeof(STRX), "Usuбrio: %s\nInsira sua senha:", aname);
            ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Logar", STRX, "Logar", "Sair");
        }
    }
    else {
        SendClientMessage(playerid, Vermelho, "| KICK | Vocк foi kickado(a) por nгo se registrar / logar");
        Kick(playerid);
    }
    return 1;
}
eos erros
pawn Код:
C:\Users\pppp\Desktop\Iniodo0RPG\gamemodes\RPG.pwn(91) : error 017: undefined symbol "file"
C:\Users\pppp\Desktop\Iniodo0RPG\gamemodes\RPG.pwn(91) : error 017: undefined symbol "file"
C:\Users\pppp\Desktop\Iniodo0RPG\gamemodes\RPG.pwn(91) : error 029: invalid expression, assumed zero
C:\Users\pppp\Desktop\Iniodo0RPG\gamemodes\RPG.pwn(91) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

4 Errors.
Reply


Messages In This Thread
registro - by Standby - 20.06.2013, 01:47
Re: registro - by Delete_ - 20.06.2013, 02:39
Re: registro - by Standby - 20.06.2013, 02:44
Re: registro - by Delete_ - 20.06.2013, 03:31
Re: registro - by Standby - 20.06.2013, 14:09
Re: registro - by Lucas_Pawno - 20.06.2013, 14:24
Re: registro - by Standby - 20.06.2013, 20:52
Re: registro - by [THs]ShadoW - 20.06.2013, 20:59
Re: registro - by Standby - 20.06.2013, 21:44
Re: registro - by ProKillerpa - 20.06.2013, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)