[Pomoc] Login,ime od igraca.moze lock rjeseno hvala.

Započeo Otisao s Foruma!, Februar 12, 2012, 03:06:10 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: FG
Detaljan opis problema: znaci problem je sto nece da pokaze ime od igraca u loginu, jedno pokaze ali drugo nece.
Dio skripte: if (gPlayerAccount[playerid] != 0)
{
new loginstring[1000];
new loginname[500];
            SetPlayerCameraPos(playerid, 2047.66, 1343.80, 37.76);
            SetPlayerCameraLookAt(playerid, 2042.66, 1343.61, 35.76);
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{FF0000}Serbia\n{A4CDFF}Dobrodosli,Vase Ime je: {A4CDFF} %s\n\n{A4CDFF}Molimo ulogujte se,upisite vas password\n{FF0000}english\nWelcome,Your name is:%s(ovdje nece da pokaze a gore hoce",loginname);
            ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Prijava","Izadji");
}

Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Poslednja Izmena: Februar 13, 2012, 02:08:46 PRE PODNE od ¢fg:)
[[/center]
DgL <3
Otisao s Foruma zz


Probaj:

if (gPlayerAccount[playerid] != 0)
{
new loginstring[1000];
new loginname[MAX_PLAYER_NAME];
            SetPlayerCameraPos(playerid, 2047.66, 1343.80, 37.76);
            SetPlayerCameraLookAt(playerid, 2042.66, 1343.61, 35.76);
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{FF0000}Serbia\n{A4CDFF}Dobrodosli,Vase Ime je: {A4CDFF} %s\n\n{A4CDFF}Molimo ulogujte se,upisite vas password\n{FF0000}english\nWelcome,Your name is:%s(ovdje nece da pokaze a gore hoce",loginname);
            ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Prijava","Izadji");
}
Skriptam za pare

Moraš 2 put staviti loginname u formatiranju.
"I'm a loser and a user so I don't need no accuser" - Billie Joe Armstrong

Ovako

if (gPlayerAccount[playerid] != 0)
{
new loginstring[1000];
new loginname[500];
            SetPlayerCameraPos(playerid, 2047.66, 1343.80, 37.76);
            SetPlayerCameraLookAt(playerid, 2042.66, 1343.61, 35.76);
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{FF0000}Serbia\n{A4CDFF}Dobrodosli,Vase Ime je: {A4CDFF} %s\n\n{A4CDFF}Molimo ulogujte se,upisite vas password\n{FF0000}english\nWelcome,Your name is:%s(ovdje nece da pokaze a gore hoce",loginname,loginname);
            ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Prijava","Izadji");
}

â–º USKORO â—,,
•Reg/Log System [100%]•House System [80%]•Bizz System [50%] •Ownership system [90%] •Admin System [90%] •GM System [0%] •Stats System [100%] •Jail System [90%] •Job System [70%] •Event System [40%] •Bank System [60%] •Org/Mafije [35%] •Donator System [10%]
I najveci talenti gube se u neradu, zato nemoj traziti izgovor da ne znas nego naÄ'i resenje!

radi hvala posto cu ubacit vise text jeli ovako da dodam strcat. 

if (gPlayerAccount[playerid] != 0)
{
new loginstring[512];
new loginname[64];
            SetPlayerCameraPos(playerid, 2047.66, 1343.80, 37.76);
            SetPlayerCameraLookAt(playerid, 2042.66, 1343.61, 35.76);
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{FF0000}serbia\n{A4CDFF}Dobrodosli,Vase Ime je: {A4CDFF} %s\n\n{A4CDFF}Molimo ulogujte se,upisite vas password\n{FF0000}bosnish\n{A4CDFF}Welcome,Your name is: {A4CDFF} %s\n\n{A4CDFF}Please login,type your password right below,",loginname,loginname);
strcat(loginstring,"ovdje text jeli i zatvorim ovako",loginname,loginname);
strcat(loginstring,"ovdje text jeli i zatvorim ovako",loginname,loginname);
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Prijava","Izadji");
}
Poslednja Izmena: Februar 12, 2012, 16:27:37 POSLE PODNE od ¢fg:)
[[/center]
DgL <3
Otisao s Foruma zz


ne, nego ovako 

if (gPlayerAccount[playerid] != 0)
{
new loginstring[512];
new loginname[64];
            SetPlayerCameraPos(playerid, 2047.66, 1343.80, 37.76);
            SetPlayerCameraLookAt(playerid, 2042.66, 1343.61, 35.76);
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{FF0000}serbia\n{A4CDFF}Dobrodosli,Vase Ime je: {A4CDFF} %s\n\n{A4CDFF}Molimo ulogujte se,upisite vas password\n{FF0000}bosnish\n{A4CDFF}Welcome,Your name is: {A4CDFF} %s\n\n{A4CDFF}Please login,type your password right below\n,",loginname,loginname);
strcat(loginstring,"ovde text");
strcat(loginstring,"ovde text");
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Prijava","Izadji");
}

â–º USKORO â—,,
•Reg/Log System [100%]•House System [80%]•Bizz System [50%] •Ownership system [90%] •Admin System [90%] •GM System [0%] •Stats System [100%] •Jail System [90%] •Job System [70%] •Event System [40%] •Bank System [60%] •Org/Mafije [35%] •Donator System [10%]
I najveci talenti gube se u neradu, zato nemoj traziti izgovor da ne znas nego naÄ'i resenje!