string problem
#3

Quote:
Originally Posted by Cypress
View Post
HTML Code:
CMD:factions(playerid, params[])
{
	if(!gLogged[playerid]) 
return SendClientMessage(playerid,COLOR_ERROR, "Tu nu esti logat si nu poti sa folosesti aceasta comanda!");
	for(new i = 1; i < sizeof(FactionInfo); i++)
	{
		format(gString, sizeof(gString), "%s%d.\t%s\t[%d/%d]\t%s\n", gString, i, FactionInfo[i][fName], GetFactionMembers(i), FactionInfo[i][fSlots], GetFactionStatus(i));
	}
	strins(gString, ID\tNume\tMembrii/Sloturi\tAplicatii\n, 0);
	ShowPlayerDialog(playerid, DIALOG_FACTIONS, DIALOG_STYLE_TABLIST_HEADERS, "Factiuni", gString, "Inchide", "");
	return 1;
}
Try this.
Nope is reading just 11 from 18 factions and at 1 is giving the News from that faction
Reply


Messages In This Thread
string problem - by StR_MaRy - 17.06.2017, 11:05
Re: string problem - by Cypress - 17.06.2017, 11:09
Re: string problem - by StR_MaRy - 17.06.2017, 11:14
Re: string problem - by Cypress - 17.06.2017, 11:55

Forum Jump:


Users browsing this thread: 1 Guest(s)