22.03.2018, 21:17
Nyaaa, and hi!
I've been noticing this problem for a while, since back then it didn't poke me as much as it did quite recently, I just couldn't help myself, but to ask for some help from chu guys!
V Problem can be seen in this picture, right down bellow. V
Inside of our script it is like this:
As seen in picture, the list just doesn't look right.
Essentially I believe it's easily fixable, but the problem is - I don't know how.
So please, if someone knows what can be causing this to happen, let me know!
~Thanks~
I've been noticing this problem for a while, since back then it didn't poke me as much as it did quite recently, I just couldn't help myself, but to ask for some help from chu guys!
V Problem can be seen in this picture, right down bellow. V
Inside of our script it is like this:
Код:
else if(!strcmp(cmd, "/leaders", true))
{
new pid,leader_text[256],leaders[2048],gettab[33][] = {
" "," "," "," "," "," "," "," "," "," ",
" \t\t ", " \t ", " \t\t ", " \t\t ", " \t\t ", " \t\t\t ", " \t ", " \t\t ",
" "," ",
" \t\t ", " \t\t ", " \t\t ", " \t\t ", " \t\t ",
" "," "," "," "," ",
" \t\t ", " \t\t ", " \t\t " };
for(new i=10; i<33; i++)
{
if(GetOrganizationType(i) != 0)
{
pid += 1;
if(strcmp(FractionInfo[i][fLeader], "none", false))
{
f(leader_text, "{BEBEBE}%d. {D6E01B}%s %s {FFFFFF}| %s %s\n", pid, GetOrganizationName(i), gettab[i], pNickText(FractionInfo[i][fLeader]), GetLeaderStatus(FractionInfo[i][fLeader]));
strcat(leaders, leader_text);
}
else
{
f(leader_text, "{BEBEBE}%d. {D6E01B}%s %s {FFFFFF}| {999999}Nav Lidera\n", pid, GetOrganizationName(i), gettab[i]);
strcat(leaders, leader_text);
}
}
}
ShowDialog(playerid, 00000, DIALOG_STYLE_MSGBOX, "Lideru saraksts", leaders, "Aizvert", "");
return 1;
}
Essentially I believe it's easily fixable, but the problem is - I don't know how.
So please, if someone knows what can be causing this to happen, let me know!
~Thanks~

