Name Problem!
#5

PHP код:
if (gPlayerAccount[playerid] != 0)
                    {
                        new 
loginstring[128];
                        new 
loginname[64];
                        
GetPlayerName(playerid,loginname,sizeof(loginname));
                        
TextDrawShowForPlayer(playeridTextdrawConnect2);
                        
TextDrawShowForPlayer(playeridTextdrawConnect3);
                        
format(loginstring,sizeof(loginstring),"{FFFFFF}Salut, {2F991A}%s {FFFFFF}Ai deja un cont pe Comunitatea Union-Zone!",loginname);
                        
SendClientMessage(playeridCOLOR_WHITEloginstring);
                        
format(loginstring,sizeof(loginstring),"Acest cont este inregistrat.Te poti loga!",loginname);
                        
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Login","Exit");
                    }
                    else 
                    {
                        
gPlayerAccount[playerid] = 0;
                        new 
regstring[128];
                        new 
regname[64];
                        
GetPlayerName(playerid,regname,sizeof(regname));
                        
TextDrawShowForPlayer(playeridTextdrawConnect2);
                        
TextDrawShowForPlayer(playeridTextdrawConnect3);
                        
format(regstring,sizeof(regstring),"{FFFFFF}Salut, {FF0000}%s {FFFFFF}Tu nu ai un cont pe Comunitatea Union-Zone!",regname);
                        
SendClientMessage(playeridCOLOR_WHITEregstring);
                        
format(regstring,sizeof(regstring),"Tu nu ai cont.Inregistreazate!",regname);
                        
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_PASSWORD,"Register",regstring,"Register","Exit");
                    } 
PROBLEM is this.but i dont know what.

PHP код:
else 
                    {
                        
gPlayerAccount[playerid] = 0;
                        new 
regstring[128];
                        new 
regname[64];
                        
GetPlayerName(playerid,regname,sizeof(regname));
                        
TextDrawShowForPlayer(playeridTextdrawConnect2);
                        
TextDrawShowForPlayer(playeridTextdrawConnect3);
                        
format(regstring,sizeof(regstring),"{FFFFFF}Salut, {FF0000}%s {FFFFFF}Tu nu ai un cont pe Comunitatea Union-Zone!",regname);
                        
SendClientMessage(playeridCOLOR_WHITEregstring);
                        
format(regstring,sizeof(regstring),"Tu nu ai cont.Inregistreazate!",regname);
                        
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_PASSWORD,"Register",regstring,"Register","Exit");
                    } 
Reply


Messages In This Thread
Name Problem! - by Akcent_Voltaj - 17.10.2013, 13:15
Re: Name Problem! - by Akcent_Voltaj - 17.10.2013, 16:28
Re: Name Problem! - by SilentSoul - 17.10.2013, 16:30
Re: Name Problem! - by Akcent_Voltaj - 17.10.2013, 16:42
Re: Name Problem! - by Akcent_Voltaj - 17.10.2013, 17:21
Re: Name Problem! - by Akcent_Voltaj - 18.10.2013, 11:43
Re: Name Problem! - by CrazyChoco - 18.10.2013, 11:49
Re: Name Problem! - by Scrillex - 18.10.2013, 11:50
Re: Name Problem! - by Akcent_Voltaj - 18.10.2013, 12:13
Re: Name Problem! - by Akcent_Voltaj - 18.10.2013, 12:57

Forum Jump:


Users browsing this thread: 1 Guest(s)