09.06.2011, 17:56
pawn Код:
static stsreasrasr[100];
format(stsreasrasr, sizeof(stsreasrasr), "Contas/%s.ini", name);
if(!fexist(stsreasrasr))
{
format(TextPass, sizeof(TextPass),"[BVO RPG]: Seja Bem Vindo ao Servidor! Atenзгo nunca esqueзa de sua senha(Pass: %s)", name, inputtext);
SendClientMessage(playerid, BRANCO, TextPass)
format(arquivo, sizeof(arquivo), "Contas/%s.ini", name);
dini_Create(arquivo);
dini_IntSet(stsreasrasr,"Password", udb_hash(inputtext));
PlayerInfo[playerid][pCash] = GetPlayerMoneyEx(playerid);
//----------------------------------------------------------
dini_IntSet(stsreasrasr, "Level",PlayerInfo[playerid][pLevel] = 5);
dini_IntSet(stsreasrasr, "AdminLevel",PlayerInfo[playerid][pAdmin] = 0);
dini_IntSet(stsreasrasr, "DonateRank",PlayerInfo[playerid][pDonateRank] = 0);
dini_IntSet(stsreasrasr, "UpgradePoints",PlayerInfo[playerid][gPupgrade] = 0);
dini_IntSet(stsreasrasr, "ConnectedTime",PlayerInfo[playerid][pConnectTime] = 0);
dini_IntSet(stsreasrasr, "Registered",PlayerInfo[playerid][pReg] = 0);
dini_IntSet(stsreasrasr, "Sex",PlayerInfo[playerid][pSex] = 0);
dini_IntSet(stsreasrasr, "Age",PlayerInfo[playerid][pAge] = 18);
dini_IntSet(stsreasrasr, "Origin",PlayerInfo[playerid][pOrigin] = 1);
dini_IntSet(stsreasrasr, "CK",PlayerInfo[playerid][pCK] = 0);
dini_IntSet(stsreasrasr, "Muted",PlayerInfo[playerid][pMuted] = 0);
dini_IntSet(stsreasrasr, "Respect",PlayerInfo[playerid][pExp] = 0);
dini_IntSet(stsreasrasr, "Money",PlayerInfo[playerid][pCash] = 0);
dini_IntSet(stsreasrasr, "Bank",PlayerInfo[playerid][pAccount] = 0);
dini_IntSet(stsreasrasr, "Crimes",PlayerInfo[playerid][pCrimes] = 0);
dini_IntSet(stsreasrasr, "Kills",PlayerInfo[playerid][pKills] = 0);
dini_IntSet(stsreasrasr, "Deaths",PlayerInfo[playerid][pDeaths] = 0);
dini_IntSet(stsreasrasr, "Arrested",PlayerInfo[playerid][pArrested] = 0);
dini_IntSet(stsreasrasr, "WantedDeaths",PlayerInfo[playerid][pWantedDeaths] = 0);
dini_IntSet(stsreasrasr, "Phonebook",PlayerInfo[playerid][pPhoneBook] = 0);
dini_IntSet(stsreasrasr, "LottoNr",PlayerInfo[playerid][pLottoNr] = 0);
dini_IntSet(stsreasrasr, "Fishes",PlayerInfo[playerid][pFishes] = 0);
dini_IntSet(stsreasrasr, "BiggestFish",PlayerInfo[playerid][pBiggestFish] = 0);
dini_IntSet(stsreasrasr, "Job",PlayerInfo[playerid][pJob] = 0);
dini_IntSet(stsreasrasr, "Paycheck",PlayerInfo[playerid][pPayCheck] = 0);
dini_IntSet(stsreasrasr, "HeadValue",PlayerInfo[playerid][pHeadValue] = 0);
dini_IntSet(stsreasrasr, "Jailed",PlayerInfo[playerid][pJailed] = 0);
dini_IntSet(stsreasrasr, "JailTime",PlayerInfo[playerid][pJailTime] = 0);
dini_IntSet(stsreasrasr, "Materials",PlayerInfo[playerid][pMats] = 0);
dini_IntSet(stsreasrasr, "Drugs",PlayerInfo[playerid][pDrugs] = 0);
dini_IntSet(stsreasrasr, "Leader",PlayerInfo[playerid][pLeader] = 0);
dini_IntSet(stsreasrasr, "Member",PlayerInfo[playerid][pMember] = 0);
dini_IntSet(stsreasrasr, "FMember",PlayerInfo[playerid][pFMember] = 0);
dini_IntSet(stsreasrasr, "Rank",PlayerInfo[playerid][pRank] = 0);
dini_IntSet(stsreasrasr, "Char",PlayerInfo[playerid][pChar] = 0);
dini_IntSet(stsreasrasr, "ContractTime",PlayerInfo[playerid][pContractTime] = 0);
dini_IntSet(stsreasrasr, "DetSkill",PlayerInfo[playerid][pDetSkill] = 0);
dini_IntSet(stsreasrasr, "SexSkill",PlayerInfo[playerid][pSexSkill] = 0);
dini_IntSet(stsreasrasr, "BoxSkill",PlayerInfo[playerid][pBoxSkill] = 0);
dini_IntSet(stsreasrasr, "LawSkill",PlayerInfo[playerid][pLawSkill] = 0);
dini_IntSet(stsreasrasr, "MechSkill",PlayerInfo[playerid][pMechSkill] = 0);
dini_IntSet(stsreasrasr, "JackSkill",PlayerInfo[playerid][pJackSkill] = 0);
dini_IntSet(stsreasrasr, "CarSkill",PlayerInfo[playerid][pCarSkill] = 0);
dini_IntSet(stsreasrasr, "NewsSkill",PlayerInfo[playerid][pNewsSkill] = 0);
dini_IntSet(stsreasrasr, "DrugsSkill",PlayerInfo[playerid][pDrugsSkill] = 0);
dini_IntSet(stsreasrasr, "CookSkill",PlayerInfo[playerid][pCookSkill] = 0);
dini_IntSet(stsreasrasr, "FishSkill",PlayerInfo[playerid][pFishSkill] = 0);
dini_FloatSet(stsreasrasr, "SHealth",PlayerInfo[playerid][pSHealth]);
dini_FloatSet(stsreasrasr, "Health",PlayerInfo[playerid][pHealth] = 0);
GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
dini_IntSet(stsreasrasr, "Int",PlayerInfo[playerid][pInt] = 0);
dini_IntSet(stsreasrasr, "Local",PlayerInfo[playerid][pLocal] = 0);
dini_IntSet(stsreasrasr, "Team",PlayerInfo[playerid][pModel] = 0);
dini_IntSet(stsreasrasr, "PhoneNr",PlayerInfo[playerid][pPnumber] = 0);
dini_IntSet(stsreasrasr, "House",PlayerInfo[playerid][pPhousekey] = 0);
dini_IntSet(stsreasrasr, "Bizz",PlayerInfo[playerid][pPbiskey] = 0);
/*if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0))
{
PlayerInfo[playerid][pPos_x] = 1684.9;
PlayerInfo[playerid][pPos_y] = -2244.5;
PlayerInfo[playerid][pPos_z] = 13.5;
}
if(Spectate[playerid] != 255)
{
PlayerInfo[playerid][pPos_x] = Unspec[playerid][sPx];
PlayerInfo[playerid][pPos_y] = Unspec[playerid][sPy];
PlayerInfo[playerid][pPos_z] = Unspec[playerid][sPz];
PlayerInfo[playerid][pInt] = Unspec[playerid][sPint];
PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal];
}*/
dini_FloatSet(stsreasrasr, "Health",PlayerInfo[playerid][pHealth]);
dini_FloatSet(stsreasrasr, "Posx",PlayerInfo[playerid][pPos_x]);
dini_FloatSet(stsreasrasr, "fPosy",PlayerInfo[playerid][pPos_y]);
dini_FloatSet(stsreasrasr, "Posz",PlayerInfo[playerid][pPos_z]);
dini_IntSet(stsreasrasr, "CarLic",PlayerInfo[playerid][pAdmin] = 0);
dini_IntSet(stsreasrasr, "BoatLic",PlayerInfo[playerid][pAdmin] = 0);
dini_IntSet(stsreasrasr, "FishLic",PlayerInfo[playerid][pAdmin] = 0);
dini_IntSet(stsreasrasr, "GunLic",PlayerInfo[playerid][pAdmin] = 0);
dini_IntSet(stsreasrasr, "Gun1",PlayerInfo[playerid][pGun1] = 0);
dini_IntSet(stsreasrasr, "Gun2",PlayerInfo[playerid][pGun2] = 0);
dini_IntSet(stsreasrasr, "Gun3",PlayerInfo[playerid][pGun3] = 0);
dini_IntSet(stsreasrasr, "Gun4",PlayerInfo[playerid][pGun4] = 0);
dini_IntSet(stsreasrasr, "Ammo1",PlayerInfo[playerid][pAmmo1] = 0);
dini_IntSet(stsreasrasr, "Ammo2",PlayerInfo[playerid][pAmmo2] = 0);
dini_IntSet(stsreasrasr, "Ammo3",PlayerInfo[playerid][pAmmo3] = 0);
dini_IntSet(stsreasrasr, "Ammo4",PlayerInfo[playerid][pAmmo4] = 0);
dini_IntSet(stsreasrasr, "CarTime",PlayerInfo[playerid][pCarTime] = 0);
dini_IntSet(stsreasrasr, "PayDay",PlayerInfo[playerid][pPayDay] = 0);
dini_IntSet(stsreasrasr, "PayDayHad",PlayerInfo[playerid][pPayDayHad] = 0);
dini_IntSet(stsreasrasr, "CDPlayer",PlayerInfo[playerid][pCDPlayer] = 0);
dini_IntSet(stsreasrasr, "Wins",PlayerInfo[playerid][pWins] = 0);
dini_IntSet(stsreasrasr, "Loses",PlayerInfo[playerid][pLoses] = 0);
dini_IntSet(stsreasrasr, "AlcoholPerk",PlayerInfo[playerid][pAlcoholPerk] = 0);
dini_IntSet(stsreasrasr, "DrugPerk",PlayerInfo[playerid][pDrugPerk] = 0);
dini_IntSet(stsreasrasr, "MiserPerk",PlayerInfo[playerid][pMiserPerk] = 0);
dini_IntSet(stsreasrasr, "PainPerk",PlayerInfo[playerid][pPainPerk] = 0);
dini_IntSet(stsreasrasr, "TraderPerk",PlayerInfo[playerid][pTraderPerk] = 0);
dini_IntSet(stsreasrasr, "Tutorial",PlayerInfo[playerid][pTut] = 1);
dini_IntSet(stsreasrasr, "Mission",PlayerInfo[playerid][pMissionNr] = 0);
dini_IntSet(stsreasrasr, "Warnings",PlayerInfo[playerid][pWarns] = 0);
dini_IntSet(stsreasrasr, "Adjustable",PlayerInfo[playerid][pAdjustable] = 0);
dini_IntSet(stsreasrasr, "Fuel",PlayerInfo[playerid][pFuel] = 0);
dini_IntSet(stsreasrasr, "Married",PlayerInfo[playerid][pMarried] = 0);
dini_IntSet(stsreasrasr, "MarriedTo",PlayerInfo[playerid][pMarriedTo] = 0);
dini_IntSet(stsreasrasr, "Maconha",PlayerInfo[playerid][pDrogas] = 0);
dini_IntSet(stsreasrasr, "Cocaina",PlayerInfo[playerid][pDrogas2] = 0);
dini_IntSet(stsreasrasr, "Crack",PlayerInfo[playerid][pDrogas3] = 0);
dini_IntSet(stsreasrasr, "SafeMaconha",PlayerInfo[playerid][pSafeDrogas] = 0);
dini_IntSet(stsreasrasr, "SafeCocaina",PlayerInfo[playerid][pSafeDrogas2] = 0);
dini_IntSet(stsreasrasr, "SafeCrack",PlayerInfo[playerid][pSafeDrogas3] = 0);
dini_IntSet(stsreasrasr, "SafeMateriais",PlayerInfo[playerid][psMats] = 0);
gPlayerLogged[playerid] = 1;
PlayerInfo[playerid][pTut] = 1;
OnPlayerSaveConta(playerid);
SpawnPlayer(playerid);
SendClientMessage(playerid, BRANCO, "Logado Automaticamente! Agora siga o Tutorial!")
}
}
if (dialogid == 2)
{
if(response)
{
new stringX[512];
new stringY[512];
new playersip[64];
GetPlayerIp(playerid,playersip,sizeof(playersip));
new name[MAX_PLAYER_NAME], stsreasrasr[512];
GetPlayerName(playerid, name, sizeof(name));
format(stsreasrasr, sizeof(stsreasrasr), "Contas/%s.ini", name);
if(strlen(inputtext) == 0)
{
format(stringX, sizeof(stringX), "%s\n{F2F2F2}Nome: {F03333}%s\n", stringX,name);
format(stringX, sizeof(stringX), "%s\n{F2F2F2}IP: {F03333}%s\n", stringX,playersip);
format(stringX, sizeof(stringX), "%s\n{F2F2F2}Digite Sua {F03333}Senha{F2F2F2} Para se logar\n", stringX);
format(stringX, sizeof(stringX), "%s\n{F2F2F2}OBS:Visite o Forum/Site Para ver as Atualizaзхes \n {F03333}www.brasilvilaonline.com", stringX);
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{F5F52E}Brasil {3EDE76}Vila {1E92F7}Online {F5F52E}RPG", stringX, "Logar", "Sair");
return 0;
}
if(fexist(stsreasrasr))
{
new password = dini_Int(stsreasrasr, "Password");
if(udb_hash(inputtext) != password)
{
SendClientMessage(playerid, COLOR_RED, "A SENHA DIGITADA NГO ESTA CORRETA! DIGITE NOVAMENTE");
format(stringY, sizeof(stringY), "%s\n{F2F2F2}Nome: {F03333}%s\n", stringY,name);
format(stringY, sizeof(stringY), "%s\n{F2F2F2}IP: {F03333}%s\n", stringY,playersip);
format(stringY, sizeof(stringY), "%s\n{F2F2F2}Essa e Sua Conta?\n", stringY);
format(stringY, sizeof(stringY), "%s\n{F2F2F2}Digite Sua {F03333}Senha{F2F2F2} Para se logar\n", stringY);
format(stringY, sizeof(stringY), "%s\n{F2F2F2}OBS:Visite o Forum/Site Para ver as Atualizaзхes \n {F03333}www.brasilvilaonline.com", stringY);
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{F5F52E}Brasil {3EDE76}Vila {1E92F7}Online {F5F52E}R{3EDE76}P{1E92F7}G", stringY, "Logar", "Sair");
return 1;
}
if(udb_hash(inputtext) == password)
{
SpawnPlayer(playerid);
PlayerInfo[playerid][pLevel] = dini_Int(stsreasrasr, "Level");
PlayerInfo[playerid][pAdmin] = dini_Int(stsreasrasr, "AdminLevel");
PlayerInfo[playerid][pDonateRank] = dini_Int(stsreasrasr, "DonateRank");
PlayerInfo[playerid][gPupgrade] = dini_Int(stsreasrasr, "UpgradePoints");
PlayerInfo[playerid][pConnectTime] = dini_Int(stsreasrasr, "ConnectedTime");
PlayerInfo[playerid][pReg] = dini_Int(stsreasrasr, "Registered");
PlayerInfo[playerid][pSex] = dini_Int(stsreasrasr, "Sex");
PlayerInfo[playerid][pAge] = dini_Int(stsreasrasr, "Age");
PlayerInfo[playerid][pOrigin] = dini_Int(stsreasrasr, "Origin");
PlayerInfo[playerid][pCK] = dini_Int(stsreasrasr, "CK");
PlayerInfo[playerid][pMuted] = dini_Int(stsreasrasr, "Muted");
PlayerInfo[playerid][pExp] = dini_Int(stsreasrasr, "Respect");
PlayerInfo[playerid][pCash] = dini_Int(stsreasrasr, "Money");
PlayerInfo[playerid][pAccount] = dini_Int(stsreasrasr, "Bank");
PlayerInfo[playerid][pCrimes] = dini_Int(stsreasrasr, "Crimes");
PlayerInfo[playerid][pKills] = dini_Int(stsreasrasr, "Kills");
PlayerInfo[playerid][pDeaths] = dini_Int(stsreasrasr, "Deaths");
PlayerInfo[playerid][pArrested] = dini_Int(stsreasrasr, "Arrested");
PlayerInfo[playerid][pWantedDeaths] = dini_Int(stsreasrasr, "WantedDeaths");
PlayerInfo[playerid][pPhoneBook] = dini_Int(stsreasrasr, "Phonebook");
PlayerInfo[playerid][pLottoNr] = dini_Int(stsreasrasr, "LottoNr");
PlayerInfo[playerid][pFishes] = dini_Int(stsreasrasr, "Fishes");
PlayerInfo[playerid][pBiggestFish] = dini_Int(stsreasrasr, "BiggestFish");
PlayerInfo[playerid][pJob] = dini_Int(stsreasrasr, "Job");
PlayerInfo[playerid][pPayCheck] = dini_Int(stsreasrasr, "Paycheck");
PlayerInfo[playerid][pHeadValue] = dini_Int(stsreasrasr, "HeadValue");
PlayerInfo[playerid][pJailed] = dini_Int(stsreasrasr, "Jailed");
PlayerInfo[playerid][pJailTime] = dini_Int(stsreasrasr, "JailTime");
PlayerInfo[playerid][pMats] = dini_Int(stsreasrasr, "Materials");
PlayerInfo[playerid][pDrugs] = dini_Int(stsreasrasr, "Drugs");
PlayerInfo[playerid][pLeader] = dini_Int(stsreasrasr, "Leader");
PlayerInfo[playerid][pMember] = dini_Int(stsreasrasr, "Member");
PlayerInfo[playerid][pFMember] = dini_Int(stsreasrasr, "FMember");
PlayerInfo[playerid][pRank] = dini_Int(stsreasrasr, "Rank");
PlayerInfo[playerid][pChar] = dini_Int(stsreasrasr, "Char");
PlayerInfo[playerid][pContractTime] = dini_Int(stsreasrasr, "ContractTime");
PlayerInfo[playerid][pDetSkill] = dini_Int(stsreasrasr, "DetSkill");
PlayerInfo[playerid][pSexSkill] = dini_Int(stsreasrasr, "SexSkill");
PlayerInfo[playerid][pBoxSkill] = dini_Int(stsreasrasr, "BoxSkill");
PlayerInfo[playerid][pLawSkill] = dini_Int(stsreasrasr, "LawSkill");
PlayerInfo[playerid][pMechSkill] = dini_Int(stsreasrasr, "MechSkill");
PlayerInfo[playerid][pJackSkill] = dini_Int(stsreasrasr, "JackSkill");
PlayerInfo[playerid][pCarSkill] = dini_Int(stsreasrasr, "CarSkill");
PlayerInfo[playerid][pNewsSkill] = dini_Int(stsreasrasr, "NewsSkill");
PlayerInfo[playerid][pDrugsSkill] = dini_Int(stsreasrasr, "DrugsSkill");
PlayerInfo[playerid][pCookSkill] = dini_Int(stsreasrasr, "CookSkill");
PlayerInfo[playerid][pFishSkill] = dini_Int(stsreasrasr, "FishSkill");
PlayerInfo[playerid][pSHealth] = dini_Int(stsreasrasr, "SHealth");
PlayerInfo[playerid][pHealth] = dini_Int(stsreasrasr, "Health");
PlayerInfo[playerid][pInt] = dini_Int(stsreasrasr, "Int");
PlayerInfo[playerid][pLocal] = dini_Int(stsreasrasr, "Local");
PlayerInfo[playerid][pTeam] = dini_Int(stsreasrasr, "Team");
PlayerInfo[playerid][pModel] = dini_Int(stsreasrasr, "Model");
PlayerInfo[playerid][pPnumber] = dini_Int(stsreasrasr, "PhoneNr");
PlayerInfo[playerid][pPhousekey] = dini_Int(stsreasrasr, "House");
PlayerInfo[playerid][pPbiskey] = dini_Int(stsreasrasr, "Bizz");
PlayerInfo[playerid][pPos_x] = dini_Int(stsreasrasr, "Posx");
PlayerInfo[playerid][pPos_y] = dini_Int(stsreasrasr, "Posy");
PlayerInfo[playerid][pPos_z] = dini_Int(stsreasrasr, "Posz");
PlayerInfo[playerid][pCarLic] = dini_Int(stsreasrasr, "CarLic");
PlayerInfo[playerid][pFlyLic] = dini_Int(stsreasrasr, "FlyLic");
PlayerInfo[playerid][pBoatLic] = dini_Int(stsreasrasr, "BoatLic");
PlayerInfo[playerid][pFishLic] = dini_Int(stsreasrasr, "FishLic");
PlayerInfo[playerid][pGunLic] = dini_Int(stsreasrasr, "GunLic");
PlayerInfo[playerid][pGun1] = dini_Int(stsreasrasr, "Gun1");
PlayerInfo[playerid][pGun2] = dini_Int(stsreasrasr, "Gun2");
PlayerInfo[playerid][pGun3] = dini_Int(stsreasrasr, "Gun3");
PlayerInfo[playerid][pGun4] = dini_Int(stsreasrasr, "Gun4");
PlayerInfo[playerid][pAmmo1] = dini_Int(stsreasrasr, "Ammo1");
PlayerInfo[playerid][pAmmo2] = dini_Int(stsreasrasr, "Ammo2");
PlayerInfo[playerid][pAmmo3] = dini_Int(stsreasrasr, "Ammo3");
PlayerInfo[playerid][pAmmo4] = dini_Int(stsreasrasr, "Ammo4");
PlayerInfo[playerid][pCarTime] = dini_Int(stsreasrasr, "CarTime");
PlayerInfo[playerid][pPayDay] = dini_Int(stsreasrasr, "PayDay");
PlayerInfo[playerid][pPayDayHad] = dini_Int(stsreasrasr, "PayDayHad");
PlayerInfo[playerid][pCDPlayer] = dini_Int(stsreasrasr, "CDPlayer");
PlayerInfo[playerid][pWins] = dini_Int(stsreasrasr, "Wins");
PlayerInfo[playerid][pLoses] = dini_Int(stsreasrasr, "Loses");
PlayerInfo[playerid][pAlcoholPerk] = dini_Int(stsreasrasr, "AlcoholPerk");
PlayerInfo[playerid][pDrugPerk] = dini_Int(stsreasrasr, "DrugPerk");
PlayerInfo[playerid][pMiserPerk] = dini_Int(stsreasrasr, "MiserPerk");
PlayerInfo[playerid][pPainPerk] = dini_Int(stsreasrasr, "PainPerk");
PlayerInfo[playerid][pTraderPerk] = dini_Int(stsreasrasr, "TraderPerk");
PlayerInfo[playerid][pTut] = dini_Int(stsreasrasr, "Tutorial");
PlayerInfo[playerid][pMissionNr] = dini_Int(stsreasrasr, "Mission");
PlayerInfo[playerid][pWarns] = dini_Int(stsreasrasr, "Warnings");
PlayerInfo[playerid][pAdjustable] = dini_Int(stsreasrasr, "Adjustable");
PlayerInfo[playerid][pFuel] = dini_Int(stsreasrasr, "Fuel");
PlayerInfo[playerid][pMarried] = dini_Int(stsreasrasr, "Married");
PlayerInfo[playerid][pMarriedTo] = dini_Int(stsreasrasr, "MarriedTo");
PlayerInfo[playerid][pDrogas] = dini_Int(stsreasrasr, "Maconha");
PlayerInfo[playerid][pDrogas2] = dini_Int(stsreasrasr, "Cocaina");
PlayerInfo[playerid][pDrogas3] = dini_Int(stsreasrasr, "Crack");
PlayerInfo[playerid][pSafeDrogas] = dini_Int(stsreasrasr, "SafeMaconha");
PlayerInfo[playerid][pSafeDrogas2] = dini_Int(stsreasrasr, "SafeCocaina");
PlayerInfo[playerid][pSafeDrogas3] = dini_Int(stsreasrasr, "SafeCrack");
PlayerInfo[playerid][psMats] = dini_Int(stsreasrasr, "SafeMateriais");
gPlayerLogged[playerid] = 1;
new string2[128];
new tmp2[128];
format(string2, sizeof(string2), "SERVER: Bem Vindo %s",name);
SendClientMessage(playerid, COLOR_WHITE,string2);
printf("%s esta logado no Servidor.",name);
format(tmp2, sizeof(tmp2), "~w~Bem Vindo ~n~~y~ %s", name);
GameTextForPlayer(playerid, tmp2, 5000, 1);
//SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1);
if(Resgistrei[playerid] >= 1)
{
RegistrationStep[playerid] = 1;
PlayerInfo[playerid][pTut] = 1;
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "Brasil Vila Online RPG", "Escolha Seu Sexo Por Favor.\n Masculino й Homem!\n Feminino й Mulher!", "Masculino", "Femino");
}
}}}