[Ajuda] registro
#2

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    new aname[MAX_PLAYER_NAME];//5000, 0
    format(file, sizeof(file), P_CONTAS, aname);
    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;
}
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: 3 Guest(s)