01.01.2012, 18:50
(
Последний раз редактировалось Esmaelo; 01.01.2012 в 19:40.
)
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.
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); } }