Jump to content
  • 0

Problema Login


RazvanBoss

Question

6 answers to this question

Recommended Posts

De unde sa stiu eu daca nu imi arati codul, frate, voi credeti ca tot ce gasiti pe un server este deja existen in SA-MP? Adica cum, voi credeti ca asta e un joc bazat pe un simplu si unic cod? Nu fratiilor, SA-MP este vorba doar despre dynamicitate, si diferente.

Fiecare server are unicul lui script(vorbind de cateva servere FUN din miile de servere care ruleaza GF).

Link to comment
Share on other sites

De parca nu sti, cel de la register/login.Trebe sa stim codul pe care il folosesti ca sa ne dam seama ce problema ai.

Posibil ca sistemu de inregistrare sa aiba doar inregistrarea bazata pe dialog iar /login bazat pe comanda de pe chat.

Link to comment
Share on other sites

Register :

{
			gPlayerAccount[playerid] = 0;
 			new regstring[128];
			new regname[64];
			GetPlayerName(playerid,regname,sizeof(regname));
			format(regstring,sizeof(regstring),"Welcome, %s\nYou dont have an account - please register.\n\n\n\nType here your password - Recommended minimum 6 characters",regname);
			ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Register",regstring,"Register","Exit");
		}
	}
Login:
if (gPlayerAccount[playerid] != 0)
		{
			new loginstring[128];
			new loginname[64];
			GetPlayerName(playerid,loginname,sizeof(loginname));
			format(loginstring,sizeof(loginstring),"Welcome back, %s !\n\nPlease write the password in the Login Box !\n\n\n\n\n\n                  BurnZone - Role Play",loginname);
			ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit");
		}

Link to comment
Share on other sites

Register :

{
			gPlayerAccount[playerid] = 0;
 			new regstring[128];
			new regname[64];
			GetPlayerName(playerid,regname,sizeof(regname));
			format(regstring,sizeof(regstring),"Welcome, %s\nYou dont have an account - please register.\n\n\n\nType here your password - Recommended minimum 6 characters",regname);
			ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Register",regstring,"Register","Exit");
		}
	}
Login:
if (gPlayerAccount[playerid] != 0)
		{
			new loginstring[128];
			new loginname[64];
			GetPlayerName(playerid,loginname,sizeof(loginname));
			format(loginstring,sizeof(loginstring),"Welcome back, %s !\n\nPlease write the password in the Login Box !\n\n\n\n\n\n                  BurnZone - Role Play",loginname);
			ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit");
		}

Ce mi-ai dat tu nu ma ajuta cu nimic, deasemenea nici pe tine.

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.