Hello guys i am facing a problem is that credits are showing in same line please help me the codes are below.
PHP Code:
CMD:credits(playerid, params[])
{
new tmp[1000];
new maxcredits = dini_Int(AddDirFile(dir_datafiles, FILE_TOTALSTAT), "credits");
if (maxcredits == 0) return SendClientMessage2(playerid, COLOR_RED, "Currently there are no Credits.");
new tmp3[2048];
for (new t = 1; t <= maxcredits; t++)
{
format(tmp, 50, "creditname%d", t);
format(tmp, sizeof(tmp), "%s", dini_Get(AddDirFile(dir_datafiles, FILE_CREDITS), tmp));
format(tmp3, sizeof(tmp3), "%s%s%s:{FFFFFF} %s", tmp3, creditscolor(t), tmp, creditssname(t));
}
SendClientMessage2(playerid, COLOR_ORANGE, "-------------------------|");
SendClientMessage2(playerid, COLOR_WHITE, tmp3);
SendClientMessage2(playerid, COLOR_ORANGE, "--------------------------");
return 1;
}