[REÅ ENO] stats

Započeo Łuk@, Jun 26, 2016, 17:03:17 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: UP
Opis problema o kojem se radi: prikaziva samo ime a treba sve
Dio skripte:
YCMD:stats(playerid,params[], help)
{
	#pragma unused help
	#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""TPLAVA"(( LOGIN )) "BELA"Morate biti ulogovani da bi ste koristili komande!");
	new string[128],string1[128],string2[128],string3[128],string4[128],string5[128],string6[128],string7[128];
	format(string, sizeof(string),""BELA"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n");
	format(string1, sizeof(string1),""BELA"IME I PREZIME: "TPLAVA"%s\n",GetName(playerid));
	format(string2, sizeof(string2),""BELA"LEVEL: "TPLAVA"%s\n",PlayerInfo[playerid][pLevel]);
	format(string3, sizeof(string3),""BELA"RESPEKTI: "TPLAVA"%s\n",PlayerInfo[playerid][pExp]);
	format(string4, sizeof(string4),""BELA"SATI IGRE: "TPLAVA"%s\n",PlayerInfo[playerid][pSatiIgre]);
	format(string5, sizeof(string5),""BELA"NOVAC U DZEPU: "TPLAVA"%s\n",PlayerInfo[playerid][pNovacDzep]);
	format(string6, sizeof(string6),""BELA"NOVAC U BANCI: "TPLAVA"%s",PlayerInfo[playerid][pNovacBanka]);
	format(string7, sizeof(string7)," %s%s%s%s",string, string1, string2, string3,string4,string5,string6,string7);
	SPD(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "STATS", string7, "Izlaz", "");
	return 1;
}

Neke slike/video za dobivanje lakse pomoci(neobavezno): http://imgur.com/nUx1rY7
Poslednja Izmena: Jun 26, 2016, 17:31:32 POSLE PODNE od â–… â–† â–ˆ Rudimental â–ˆ â–† â–…
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci

Probaj ovako
YCMD:stats(playerid,params[], help)
{
	#pragma unused help
	#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""TPLAVA"(( LOGIN )) "BELA"Morate biti ulogovani da bi ste koristili komande!");
	new string[128],string1[128],string2[128],string3[128],string4[128],string5[128],string6[128],string7[128];
	format(string, sizeof(string),""BELA"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n");
	format(string1, sizeof(string1),""BELA"IME I PREZIME: "TPLAVA"%s\n",GetName(playerid));
	format(string2, sizeof(string2),""BELA"LEVEL: "TPLAVA"%d\n",PlayerInfo[playerid][pLevel]);
	format(string3, sizeof(string3),""BELA"RESPEKTI: "TPLAVA"%d\n",PlayerInfo[playerid][pExp]);
	format(string4, sizeof(string4),""BELA"SATI IGRE: "TPLAVA"%d\n",PlayerInfo[playerid][pSatiIgre]);
	format(string5, sizeof(string5),""BELA"NOVAC U DZEPU: "TPLAVA"%d\n",PlayerInfo[playerid][pNovacDzep]);
	format(string6, sizeof(string6),""BELA"NOVAC U BANCI: "TPLAVA"%d",PlayerInfo[playerid][pNovacBanka]);
	format(string7, sizeof(string7)," %s\n%s\n%s\n%s\n%s\n%s\n%s",string, string1, string2, string3,string4,string5,string6);
	SPD(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "STATS", string7, "Izlaz", "");
	return 1;
}

radi brt, moze samo objasnjenje zasto %s\n%s\n%s\n%s\n%s\n%s\n%s ?
EDIT: dodajem nesto i nece opet -.-
YCMD:stats(playerid,params[], help)
{
	#pragma unused help
	#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""TPLAVA"(( LOGIN )) "BELA"Morate biti ulogovani da bi ste koristili komande!");
	new string[128],string1[128],string2[128],string3[128],string4[128],string5[128],string6[128],string7[128],string8[512];
	format(string, sizeof(string),""BELA"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n");
	format(string1, sizeof(string1),""BELA"IME I PREZIME: "TPLAVA"%s\n",GetName(playerid));
	format(string2, sizeof(string2),""BELA"LEVEL: "TPLAVA"%d\n",PlayerInfo[playerid][pLevel]);
	format(string3, sizeof(string3),""BELA"RESPEKTI: "TPLAVA"%d\n",PlayerInfo[playerid][pExp]);
	format(string4, sizeof(string4),""BELA"SATI IGRE: "TPLAVA"%d\n",PlayerInfo[playerid][pSatiIgre]);
	format(string5, sizeof(string5),""BELA"NOVAC U DZEPU: "TPLAVA"%d\n",PlayerInfo[playerid][pNovacDzep]);
	format(string6, sizeof(string6),""BELA"NOVAC U BANCI: "TPLAVA"%d",PlayerInfo[playerid][pNovacBanka]);
	format(string7, sizeof(string7),""BELA"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n");
	format(string8, sizeof(string8)," %s\n%s\n%s\n%s\n%s\n%s\n%s\n%s",string, string1, string2, string3,string4,string5,string6, string7);
	SPD(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "STATS", string7, "Izlaz", "");
	return 1;
}


http://imgur.com/IrJuCkK
Poslednja Izmena: Jun 26, 2016, 17:18:09 POSLE PODNE od ophion
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci