SA-MP Forums Archive
Bug stats and summary writing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bug stats and summary writing (/showthread.php?tid=307952)



Bug stats and summary writing - Esmaelo - 01.01.2012

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);
		}
    }



Re : Bug stats and summary writing - Esmaelo - 01.01.2012

bug settle