Jump to content

Cerere Tutorial Adaugare Email in inregistrare


GenOxigen

Recommended Posts

uite aici:

if(dialogid == DIALOG_EMAIL)
	{
		if(response)
    	{
    		new string[256];
       		if(strlen(inputtext) < 4 || strlen(inputtext) > 151)
		   	{
		   		SCM(playerid, COLOR_ERROR, "Emailul trebuie sa fie intre 5 si 100 caractere!");
			  	ShowPlayerDialog(playerid,702,DIALOG_STYLE_INPUT,"Email","Te rog sa iti introduci adresa de email mai jos:","Urmatorul","");
			  	return 1;
			}
			else
       		{
				strmid(P_DATA[playerid][pEmail], inputtext, 0, strlen(inputtext), 999);
				format(string, sizeof(string), "OK, emailul tau este %s.", inputtext);
			}
		}
	 	if(!response)
      	{
      	    SShowPlayerDialog(playerid,702,DIALOG_STYLE_INPUT,"Email","Te rog sa iti introduci adresa de email mai jos:","Urmatorul","");
  	    }
	}

na de aici

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.