pawn Код:
//Outra parte que esquece de coloca aqui
if(udb_Exists(PlayerName(playerid))) if(Logado[playerid] == 0) ShowRegisterOrLoginDialog(playerid, 1), SetPlayerSkin(playerid, dUserINT(PlayerName(playerid)).("Skin"));
if(!udb_Exists(PlayerName(playerid))) ShowRegisterOrLoginDialog(playerid, 2);
//Salvamento
if (response == 1)
{
if(dialogid == 1)
{
if (!strlen(inputtext))
{
ShowRegisterOrLoginDialog(playerid, 1);
return SystemMsg(playerid,"| CONTA | Digite uma senha!");
}
if (udb_CheckLogin(PlayerName(playerid),inputtext))
{
//GivePlayerBase(playerid);
Logado[playerid] = 1;
DinheiroUG[playerid] = 0;
Nivel[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Nivel"));
Banco[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Bancox"));
Vip[playerid] = (playerid,dUserINT(PlayerName(playerid)).("HorasVIP"));
Trabalhou[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Trabalhou"));
MostrarVIP[playerid] = (playerid,dUserINT(PlayerName(playerid)).("MostrarVIP"));
Profissao[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Profissao"));
Gasolina[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Gasolina"));
Creditos[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Creditos"));
CreditosCelular[playerid] = (playerid,dUserINT(PlayerName(playerid)).("CreditosCelular"));
Fichas[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Fichas"));
//Removido >>> SetPlayerMoneyEx(playerid,dUserINT(PlayerName(playerid)).("Grana"));
Notebook[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Notebook"));
Exp[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Exp"));
Jetpack[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Jetpack"));
ConjuntoLuzes[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Luzes"));
SemParar[playerid] = (playerid,dUserINT(PlayerName(playerid)).("SemParar"));
PortaArmas[playerid] = (playerid,dUserINT(PlayerName(playerid)).("PortaArmas"));
gps[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Gps"));
mp3[playerid] = (playerid,dUserINT(PlayerName(playerid)).("MP3"));
mudounumero[playerid] = (playerid,dUserINT(PlayerName(playerid)).("MudouNumero"));
AIDS[playerid] = (playerid,dUserINT(PlayerName(playerid)).("AIDS"));
Preso[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Preso"));
HabNautica[playerid] = (playerid,dUserINT(PlayerName(playerid)).("HabNautica"));
HabTerrestre[playerid] = (playerid,dUserINT(PlayerName(playerid)).("HabTerrestre"));
HabAerea[playerid] = (playerid,dUserINT(PlayerName(playerid)).("HabAerea"));
HabArmas[playerid] = (playerid,dUserINT(PlayerName(playerid)).("HabArmas"));
HabHVG[playerid] = (playerid,dUserINT(PlayerName(playerid)).("HabHVG"));
HabHVA[playerid] = (playerid,dUserINT(PlayerName(playerid)).("HabHVA"));
Procurado[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Procurado"));
SetPlayerSkin(playerid,dUserINT(PlayerName(playerid)).("Skin"));
intsalvo[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Interior"));
NumeroCelular[playerid] = (playerid,dUserINT(PlayerName(playerid)).("NumeroCelular"));
//Morreu[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Morreu"));
Cocaina[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Cocaina"));
Maconha[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Maconha"));
Heroina[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Heroina"));
PassagemLV[playerid] = (playerid,dUserINT(PlayerName(playerid)).("PassagemLV"));
PassagemLS[playerid] = (playerid,dUserINT(PlayerName(playerid)).("PassagemLS"));
PassagemSF[playerid] = (playerid,dUserINT(PlayerName(playerid)).("PassagemSF"));
PassagemLC[playerid] = (playerid,dUserINT(PlayerName(playerid)).("PassagemLC"));
VeiculosCriados[playerid] = (playerid,dUserINT(PlayerName(playerid)).("VeiculosCriados"));
Velocimetrox[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Velocimetrox"));
RelogioUP[playerid] = (playerid,dUserINT(PlayerName(playerid)).("RelogioUP"));
PegoNoRadar[playerid] = (playerid,dUserINT(PlayerName(playerid)).("PegoNoRadar"));
TituloEleitor[playerid] = (playerid,dUserINT(PlayerName(playerid)).("TituloEleitor"));
TemRendaExtra[playerid] = (playerid,dUserINT(PlayerName(playerid)).("TemRendaExtra"));
Dinamites[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Dinamites"));
PlanoDeSaude[playerid] = (playerid,dUserINT(PlayerName(playerid)).("PlanoDeSaude"));
GalaoDeGasolina[playerid] = (playerid,dUserINT(PlayerName(playerid)).("GalaoDeGasolina"));
Celular[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Celular"));
CapaCelular[playerid] = (playerid,dUserINT(PlayerName(playerid)).("CapaCelular"));
BateriaCelular[playerid] = (playerid,dUserINT(PlayerName(playerid)).("BateriaCelular"));
CartaoDeCredito[playerid] = (playerid,dUserINT(PlayerName(playerid)).("CartaoDeCredito"));
AntiVirus[playerid] = (playerid,dUserINT(PlayerName(playerid)).("AntiVirus"));
bebado[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Bebado"));
Oculos[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Oculos"));
Arara[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Arara"));
AraraComida[playerid] = (playerid,dUserINT(PlayerName(playerid)).("AraraComida"));
Taser[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Taser"));
Capacete[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Capacete"));
Bazuca[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Bazuca"));
MunicaoBazuca[playerid] = (playerid,dUserINT(PlayerName(playerid)).("MunicaoBazuca"));
Despertador[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Despertador"));
iPod[playerid] = (playerid,dUserINT(PlayerName(playerid)).("iPod"));
Bone[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Bone"));
LoginsCassino[playerid] = (playerid,dUserINT(PlayerName(playerid)).("LoginsCassino"));
ChatDivulgar[playerid] = (playerid,dUserINT(PlayerName(playerid)).("ChatDivulgar"));
SaldoModificado[playerid] = (playerid,dUserINT(PlayerName(playerid)).("SaldoModificado"));
Distancia[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Distancia"));
Contrabandeada[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Contrabandeada"));
Cash[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Cash"));
stealingbank[playerid] = (dUserINT(PlayerName(playerid)).("Assaltando"));
NaoVerGlobal[playerid] = (dUserINT(PlayerName(playerid)).("NaoVerGlobal"));
TempoOnline[playerid] = (dUserINT(PlayerName(playerid)).("Online"));
psalvax[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("Pos X"));
psalvay[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("Pos Y"));
psalvaz[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("Pos Z"));
upsalvax[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("Ultima Pos X"));
upsalvay[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("Ultima Pos Y"));
upsalvaz[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("Ultima Pos Z"));
PLAYERLIST_authedx[playerid]=true;
// DOF2_SetString(PlayerName(playerid), "UltimaSenha", inputtext);
dUserSet(PlayerName(playerid)).("UltimaSenha", inputtext);
// udb_UserSet(PlayerName(playerid), "UltimaSenha", inputtext);
if(Nivel[playerid] > 50)
{
TemRendaExtra[playerid] = 0;
dUserSetINT(PlayerName(playerid)).("TemRendaExtra",0);
}
if(NaoVerGlobal[playerid] == 1)
ChatProximoAtivado[playerid] = 1;
else
ChatProximoAtivado[playerid] = 0;
SetPlayerWantedLevel(playerid, Procurado[playerid]);
SetPlayerScore(playerid, Nivel[playerid]);
new M[128];
format(M, sizeof(M), (playerid,dUser(PlayerName(playerid)).("HDespertador")));
H_D[playerid] = GetPartOfStringX(M, 0);
M_D[playerid] = GetPartOfStringX(M, 1);
format(M, sizeof(M), (playerid,dUser(PlayerName(playerid)).("MudouNick")));
MesQueMudou[playerid] = GetPartOfStringX(M, 0);
VezesQueMudou[playerid] = GetPartOfStringX(M, 1);
format(M, sizeof(M), dUser(PlayerName(playerid)).("Vida"));
new Float:VidaAnterior = (playerid,dUserFLOAT(PlayerName(playerid)).("Vida"));
if(M[0] == '\0') dUserSetFLOAT(PlayerName(playerid)).("Vida",99.0);
if(VidaAnterior < 1) VidaAnterior = 99.0;
SetPlayerHealth(playerid, VidaAnterior);
new Float:ColeteAnterior = (playerid,dUserFLOAT(PlayerName(playerid)).("Colete"));
SetPlayerArmour(playerid, ColeteAnterior);
format(M, sizeof(M), (playerid,dUser(PlayerName(playerid)).("MinutosUP")));
new MinutosAnterior = (playerid,dUserINT(PlayerName(playerid)).("MinutosUP"));
format(M, sizeof(M), (playerid,dUser(PlayerName(playerid)).("SegundosUP")));
new SegundosAnterior = (playerid,dUserINT(PlayerName(playerid)).("SegundosUP"));
if((Minutos[playerid] == 0) && (Segundos[playerid] == 0))
{
Minutos[playerid] = 11; //EVENTOANIVERSARIOUG - Antes era 11
Segundos[playerid] = 60;
}
else
{
Minutos[playerid] = MinutosAnterior;
Segundos[playerid] = SegundosAnterior;
}
if(Minutos[playerid] > 11) Minutos[playerid] = 11;
if(Vip[playerid] != 0)
{
if(Minutos[playerid] > 5)
{
Minutos[playerid] = 5;
Segundos[playerid] = 60;
}
else
{
Minutos[playerid] = MinutosAnterior;
Segundos[playerid] = SegundosAnterior;
}
}
new Luta = (playerid,dUserINT(PlayerName(playerid)).("Luta"));
if(Luta == 0) SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
else if(Luta == 1) SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
else if(Luta == 2) SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
else if(Luta == 3) SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
else if(Luta == 4) SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
else if(Luta == 5) SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);
TatuagemAtual[playerid] = (playerid,dUserINT(PlayerName(playerid)).("Tatuagem"));
/*V_HabNautica[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_HabNautica"));
V_HabTerrestre[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_HabTerrestre"));
V_HabAerea[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_HabAerea"));
V_HabArmas[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_HabArmas"));
V_laptop[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_Laptop"));
V_Celular[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_Celular"));
V_Gps[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_Gps"));
V_MP3[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_MP3"));
V_RelogioUP[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_RelogioUP"));
V_Velocimetrox[playerid] = (playerid,dUserFLOAT(PlayerName(playerid)).("V_Velocimetrox"));*/
if(dini_Int(iPodsFile(iPod[playerid]), "Execucao") == 1)
StopAudioStreamForPlayer(playerid);
/* new IRC[200];
format(IRC, sizeof(IRC), "privmsg %s [LOGIN] %s logou-se com sucesso em sua conta", IRC_CANAL, PlayerName(playerid));
IRC_SendRaw(BOT_IRC, IRC);*/
SetSpawnInfo(playerid, 0, (playerid,dUserINT(PlayerName(playerid)).("Skin")), 1821.9192, -1268.5266, 13.6328, 0.0, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
return SystemMsg(playerid,"| CONTA | Logado(a) com sucesso!");
}
// Senha errada
tries[playerid]++;
SendClientMessage(playerid, COLOR_RED, "| CONTA | Senha errada!");
/*new IRC[200];
format(IRC, sizeof(IRC), "privmsg %s [LOGIN] %s errou sua senha de login.", IRC_CANAL, PlayerName(playerid));
IRC_SendRaw(BOT_IRC, IRC);*/
ShowRegisterOrLoginDialog(playerid, 1);
if(tries[playerid] == MAX_TRIES)
{
new string[128];
SystemMsg(playerid,"| CONTA | Você foi kickado porque errou a senha muitas vezes!");
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
/* format(IRC, sizeof(IRC), "privmsg %s [LOGIN] %s foi kickado do servidor por exceder o limite de tentativas de login.", IRC_CANAL, PlayerName(playerid));
IRC_SendRaw(BOT_IRC, IRC);*/
format(string,sizeof(string),"| AVISO | %s foi kickado por errar a senha de sua conta muitas vezes!",pname);
for(new I = 0; I < MAX_PLAYERS; I ++)
{
if(IsPlayerAdmin(I) == 1)
{
SendClientMessage(I, branco, string);
}
}
print(string);
KickarEx(playerid);
}
else if (tries[playerid] == MAX_TRIES-1)
{
SendClientMessage(playerid, COLOR_RED, "| CONTA | Próxima vez que você errar será kickado!");
}
}
else if(dialogid == 2)
{
if (!strlen(inputtext))
{
ShowRegisterOrLoginDialog(playerid, 2);
return SendClientMessage(playerid, COLOR_RED, "| CONTA | Digite uma senha!");
}
if(strlen(inputtext) > 19)
{
ShowRegisterOrLoginDialog(playerid, 2);
return SendClientMessage(playerid, COLOR_RED, "| CONTA | Sua senha deve ter no máximo 19 caracteres!");
}
if (udb_Create(PlayerName(playerid),inputtext))
{
psalvax[playerid] = 0;
psalvay[playerid] = 0;
psalvaz[playerid] = 0;
upsalvax[playerid] = -89.8384;
upsalvay[playerid] = 1224.4636;
upsalvaz[playerid] = 19.7422;
dUserSetFLOAT(PlayerName(playerid)).("Pos X",psalvax[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("Pos Y",psalvay[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("Pos Z",psalvaz[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("Ultima Pos X",upsalvax[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("Ultima Pos Y",upsalvay[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("Ultima Pos Z",upsalvaz[playerid]);
dUserSetINT(PlayerName(playerid)).("Skin", GetPlayerSkin(playerid));
intsalvo[playerid] = 0;
SetPlayerHealth(playerid, 99.0);
SetPlayerMoneyEx(playerid, 0);
Nivel[playerid] = 0;
dUserSetINT(PlayerName(playerid)).("Interior",intsalvo[playerid]);
Gasolina[playerid] = 20;
Creditos[playerid] = 0;
Fichas[playerid] = 0;
Profissao[playerid] = 1;
Notebook[playerid] = 0;
gps[playerid] = 0;
mp3[playerid] = 0;
Exp[playerid] = 0;
mudounumero[playerid] = 0;
new Hora, Minuto, Segundo, Dia, Mes, Ano;
getdate(Ano, Mes, Dia);
gettime(Hora, Minuto, Segundo);
new Register[128];
format(Register, sizeof(Register), "%02d/%02d/%04d às %02d:%02d:%02d", Dia, Mes, Ano, Hora, Minuto, Segundo);
dUserSet(PlayerName(playerid)).("Registro", Register);
dUserSetINT(PlayerName(playerid)).("Online", TempoOnline[playerid]);
dUserSet(PlayerName(playerid)).("Sexo", "Indefinido");
dUserSetINT(PlayerName(playerid)).("Nivel",Nivel[playerid]);
dUserSetINT(PlayerName(playerid)).("Bancox",500);
dUserSetINT(PlayerName(playerid)).("Profissao",Profissao[playerid]);
dUserSetINT(PlayerName(playerid)).("Gasolina",Gasolina[playerid]);
dUserSetINT(PlayerName(playerid)).("Creditos",Creditos[playerid]);
dUserSetINT(PlayerName(playerid)).("CreditosCelular",CreditosCelular[playerid]);
dUserSetINT(PlayerName(playerid)).("Fichas",Fichas[playerid]);
//Removido >>> dUserSetINT(PlayerName(playerid)).("Grana",GetPlayerMoneyEx(playerid));
dUserSetINT(PlayerName(playerid)).("Notebook",Notebook[playerid]);
dUserSetINT(PlayerName(playerid)).("Exp",Exp[playerid]);
dUserSetINT(PlayerName(playerid)).("Jetpack", Jetpack[playerid]);
dUserSetINT(PlayerName(playerid)).("Luzes", ConjuntoLuzes[playerid]);
dUserSetINT(PlayerName(playerid)).("SemParar", SemParar[playerid]);
dUserSetINT(PlayerName(playerid)).("PortaArmas", PortaArmas[playerid]);
dUserSetINT(PlayerName(playerid)).("Gps",gps[playerid]);
dUserSetINT(PlayerName(playerid)).("MP3",mp3[playerid]);
dUserSetINT(PlayerName(playerid)).("MudouNumero",mudounumero[playerid]);
dUserSetINT(PlayerName(playerid)).("AIDS",AIDS[playerid]);
dUserSetINT(PlayerName(playerid)).("Preso",Preso[playerid]);
dUserSetINT(PlayerName(playerid)).("HabNautica",HabNautica[playerid]);
dUserSetINT(PlayerName(playerid)).("HabTerrestre",HabTerrestre[playerid]);
dUserSetINT(PlayerName(playerid)).("HabAerea",HabAerea[playerid]);
dUserSetINT(PlayerName(playerid)).("HabArmas",HabArmas[playerid]);
dUserSetINT(PlayerName(playerid)).("HabHVG",HabHVG[playerid]);
dUserSetINT(PlayerName(playerid)).("HabHVA",HabHVA[playerid]);
dUserSetINT(PlayerName(playerid)).("Procurado",Procurado[playerid]);
dUserSetINT(PlayerName(playerid)).("Skin", GetPlayerSkin(playerid));
dUserSetINT(PlayerName(playerid)).("Interior",intsalvo[playerid]);
dUserSetINT(PlayerName(playerid)).("NumeroCelular", NumeroCelular[playerid]);
//dUserSetINT(PlayerName(playerid)).("Morreu", Morreu[playerid]);
dUserSetINT(PlayerName(playerid)).("Cocaina",Cocaina[playerid]);
dUserSetINT(PlayerName(playerid)).("Heroina",Heroina[playerid]);
dUserSetINT(PlayerName(playerid)).("Maconha",Maconha[playerid]);
dUserSetINT(PlayerName(playerid)).("PassagemLV",PassagemLV[playerid]);
dUserSetINT(PlayerName(playerid)).("PassagemLS",PassagemLS[playerid]);
dUserSetINT(PlayerName(playerid)).("PassagemSF",PassagemSF[playerid]);
dUserSetINT(PlayerName(playerid)).("PassagemLC",PassagemLC[playerid]);
dUserSetINT(PlayerName(playerid)).("VeiculosCriados",VeiculosCriados[playerid]);
dUserSetINT(PlayerName(playerid)).("Velocimetrox",Velocimetrox[playerid]);
dUserSetINT(PlayerName(playerid)).("RelogioUP",RelogioUP[playerid]);
dUserSetINT(PlayerName(playerid)).("PegoNoRadar",PegoNoRadar[playerid]);
dUserSetINT(PlayerName(playerid)).("TituloEleitor",TituloEleitor[playerid]);
dUserSetINT(PlayerName(playerid)).("TemRendaExtra",TemRendaExtra[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("Vida", 99.0);
dUserSetFLOAT(PlayerName(playerid)).("Colete", 0.0);
dUserSetINT(PlayerName(playerid)).("MinutosUP",11); //EVENTOANIVERSARIOUG - Antes era 11
dUserSetINT(PlayerName(playerid)).("SegundosUP",60);
dUserSetINT(PlayerName(playerid)).("Luta", 0);
dUserSetINT(PlayerName(playerid)).("Tatuagem", 0);
dUserSetINT(PlayerName(playerid)).("Dinamites", 0);
dUserSetINT(PlayerName(playerid)).("GalaoDeGasolina",GalaoDeGasolina[playerid]);
dUserSetINT(PlayerName(playerid)).("CapaCelular",CapaCelular[playerid]);
dUserSetINT(PlayerName(playerid)).("BateriaCelular",BateriaCelular[playerid]);
dUserSetINT(PlayerName(playerid)).("CartaoDeCredito",CartaoDeCredito[playerid]);
dUserSetINT(PlayerName(playerid)).("AntiVirus",AntiVirus[playerid]);
dUserSetINT(PlayerName(playerid)).("Celular",Celular[playerid]);
dUserSetINT(PlayerName(playerid)).("Bebado",bebado[playerid]);
dUserSetINT(PlayerName(playerid)).("Oculos",Oculos[playerid]);
dUserSetINT(PlayerName(playerid)).("Arara",Arara[playerid]);
dUserSetINT(PlayerName(playerid)).("AraraComida",AraraComida[playerid]);
dUserSetINT(PlayerName(playerid)).("Taser",Taser[playerid]);
dUserSetINT(PlayerName(playerid)).("Capacete",Capacete[playerid]);
dUserSetINT(PlayerName(playerid)).("Bazuca",Bazuca[playerid]);
dUserSetINT(PlayerName(playerid)).("MunicaoBazuca",MunicaoBazuca[playerid]);
dUserSetINT(PlayerName(playerid)).("Despertador",Despertador[playerid]);
dUserSetINT(PlayerName(playerid)).("iPod",iPod[playerid]);
dUserSetINT(PlayerName(playerid)).("Bone",Bone[playerid]);
dUserSetINT(PlayerName(playerid)).("LoginsCassino",LoginsCassino[playerid]);
dUserSetINT(PlayerName(playerid)).("ChatDivulgar",ChatDivulgar[playerid]);
dUserSetINT(PlayerName(playerid)).("Distancia",Distancia[playerid]);
dUserSetINT(PlayerName(playerid)).("Contrabandeada",Contrabandeada[playerid]);
dUserSetINT(PlayerName(playerid)).("Cash",Cash[playerid]);
dUserSet(PlayerName(playerid)).("HDespertador",",00,00");
dUserSet(PlayerName(playerid)).("MudouNick",",0,0");
dUserSet(PlayerName(playerid)).("Saudacao", "Nenhuma");
dUserSetINT(PlayerName(playerid)).("SaudacaoAtiva", 0);
//ShowRegisterOrLoginDialog(playerid, 1);
dUserSet(PlayerName(playerid)).("UltimaSenha", inputtext);
// DOF2_SetString(PlayerName(playerid), "UltimaSenha", inputtext);
// udb_UserSet(PlayerName(playerid), "UltimaSenha", inputtext);
/*dUserSetFLOAT(PlayerName(playerid)).("V_HabNautica",V_HabNautica[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_HabTerrestre",V_HabTerrestre[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_HabAerea",V_HabAerea[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_HabArmas",V_HabArmas[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_laptop",V_laptop[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_Celular",V_Celular[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_Gps",V_Gps[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_MP3",V_MP3[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_RelogioUP",V_RelogioUP[playerid]);
dUserSetFLOAT(PlayerName(playerid)).("V_Velocimetrox",V_Velocimetrox[playerid]);*/
ContaCriada[playerid] = 1;
ShowPlayerDialog(playerid, 84, DIALOG_STYLE_MSGBOX, "Sexo", "É muito importante que você defina seu sexo", "Masculino", "Feminino");
return SystemMsg(playerid,"| CONTA | Conta criada com sucesso!");
}
}