Jump to content
  • 0

Cer ajutor, am o problema mare cu dialog la Register System


RichestBoy

Question

Problemă întâlnită (descriere): Am incercat sa editez un System de inregisrare creat de Gaymer si nu reusesc, as vrea ca sa ma ajutati si voi cu ce puteti eu doresc ca register si login sa fie in timpul in care iti alegi skinul jucatorului MSS mult.
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul: - 
Imagini / Video (optional): -
Aţîncercat să rezolvaţi singur?: dea... de multe multe ori

 

[pawn] if(BUD::IsNameRegistered(PlayerName2(playerid)) == true && AccInfo[playerid][ALogin] == 0)
{
new string[256];
//----------------------------------------------------------------------
format(string, 256, "{04FB21}Bine ai revenit {FF0000}%s{04FB21} pe {0066CC}Romania {FFFF00}Real{FF0000} Stunt{04FB21}!n
{04FB21}Te rugam sa te autentifici inainte de a continua sa te joci pe server:", PlayerName2(playerid));
//----------------------------------------------------------------------
ShowPlayerDialog(playerid, DIALOGID+67, DIALOG_STYLE_PASSWORD,"{FF0000}»{D1D1D1} Login Account",string,"Login","Leave");
}
//--------------------------------------------------------------------------
//Request Register Dialog
//--------------------------------------------------------------------------
if(BUD::IsNameRegistered(PlayerName2(playerid)) == false)
{
new string[250];
//----------------------------------------------------------------------
format(string, 250, "{04FB21}Bun venit {FF0000}%s{04FB21} pe {0066CC}Romania {FFFF00}Real{FF0000} Stunt{04FB21}!n
{04FB21}Inregistreaza-te pentru a iti salva {06FBFB}Coinsul, Banii, Score-ul, VIP-ul {04FB21}si altele!", PlayerName2(playerid), PlayerName2(playerid));
//----------------------------------------------------------------------
ShowPlayerDialog(playerid, DIALOGID+66, DIALOG_STYLE_PASSWORD,"{FF0000}»{D1D1D1} Register Account",string,"Register","Leave");[/pawn]

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Acel server il au toti si e plin de buguri e RSE Edit si  cunosc acel server ca pe palma mea , la fel si WOS toate build-urile.

 

Eu spun sa incerci sa faci tu un sistem de dialog nu sa iei un server dp net si sa-l editezi...in fine faci cum vrei tu.

 

[pawn]OnPlayerConnect:

ShowPlayerDialog(playerid, x,.....);

if(dialogid == x)
{
if(BUD::IsNameRegistered(PlayerName2(playerid)) == true)
{
dialog de login
}
else if(BUD::IsNameRegistered(PlayerName2(playerid)) == false)
{
dialog register
}
}[/pawn]

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

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.