PDA

View Full Version : Bug stats and summary writing


Esmaelo
01/01/2012, 06:50 PM
Hello I have a bug I have a summary at the end of registration with an email system but when it happens he did not write the password and enter the email address by the player. Can you help me
Thank you in advance.

if(response)
{

new aname[MAX_PLAYER_NAME],string[128],dialogstring[320],targetid;
GetPlayerName(playerid, aname, sizeof(aname));
new aSexe[20];
if(InfosJoueur[targetid][Sexe] == 1) { aSexe = "Homme"; }
else if(InfosJoueur[playerid][Sexe] == 2) { aSexe = "Femme"; }
new aAge = InfosJoueur[targetid][Age];
new aMDP = InfosJoueur[targetid][MDP];
InfosJoueur[playerid][Email] = strval(inputtext);
format(string, sizeof(string),"Ok, Ton Adresse Email est %s ", inputtext);
SendClientMessage(playerid, Jaune, string);
format(dialogstring,sizeof(dialogstring),"Nom : %s \nMot de passe : %s \n\nAge : %d ans\nSexe : %d\nPays : %d\nEmail : \%d ", aname, aMDP, aAge, aSexe, InfosJoueur[targetid][Pays], InfosJoueur[targetid][Email]);// attend je test un truck
ShowPlayerDialog(playerid,105,DIALOG_STYLE_MSGBOX,"[Inscription] Etape 5/5 - Recapitulatif",dialogstring,"Passer au questionnaire ","Quitter");
}
else
{
SendClientMessage(playerid, Usage, "[Usage] Utilisez \"/q\" pour quitter");
Kick(playerid);
}
}

Esmaelo
01/01/2012, 09:08 PM
bug settle