03.06.2017, 19:17
PHP код:
ShowFactions(playerid){
new stringz2[MAX_STRING];
for(new i = 1; i < sizeof(DynamicFactions); i++){
format(stringz2, sizeof(stringz2),"%s{FFFFFF}[%d/%d] %s %s\n", stringz2,GetFactionMembers(i), DynamicFactions[i][fMaxMembers], DynamicFactions[i][fName] , (DynamicFactions[i][fApplication] > 0) ? ("{00FF00}[aplicatii deschise]") : (""));
}
ShowPlayerDialog(playerid, DIALOG_FACTIONS, DIALOG_STYLE_LIST,"Factions", stringz2, "Select", "Cancel");
}