07.10.2014, 09:56
try this
i made the string 400 because it is 389 characters
Код:
CMD:factions(playerid, params[]) { new string[400]; format(string, sizeof(string),"Los Santos Police Department [%d/10]\nFederal Bureau Of Investigation[%d/10]\nNational Guard [%d/10]\nParamedic Department[%d/10]\nLas Venturas Police Department [%d/10]\nThe Russian Mafia [%d/10]\nGrove Street[%d/10]\nLos Aztecas[%d/10]\nThe Riffa [%d/10]\nBallas [%d/10]\nLos Vagos [%d/10]\nHitman Agency [%d/10]\nSchool Instructors [%d/10]\nTaxi Company [%d/10]\nNews Reporters [%d/10]", groupVariables[0][gMembers],groupVariables[1][gMembers],groupVariables[2][gMembers],groupVariables[3][gMembers],groupVariables[4][gMembers],groupVariables[5][gMembers],groupVariables[6][gMembers],groupVariables[7][gMembers],groupVariables[8][gMembers],groupVariables[9][gMembers],groupVariables[10][gMembers],groupVariables[11][gMembers],groupVariables[12][gMembers],groupVariables[13][gMembers],groupVariables[14][gMembers]); ShowPlayerDialog(playerid, TCOLOR, DIALOG_STYLE_LIST, "Server: Factions", string, "Select", "Cancel"); return 1; }