How i make it smaller ?
#5

Just loop through the factions?

PHP код:
stock ShowFactions(playerid)
{
     new 
string[256];
     
string[0] = EOS;
     for(new 
1sizeof(DynamicFactions); i++){
           if(
DynamicFactions[i][fApplication] > 0){
                  
format(stringsizeof(string), "%s{FFFFFF}[%d/%d] %s\n"stringGetFactionMembers(i), DynamicFactions[i][fMaxMembers], DynamicFactions[i][fName]);
                }
         }
         
ShowPlayerDialog(playeridDIALOG_FACTIONSDIALOG_STYLE_LIST"Factions"string"Select""Cancel");
        return 
1;

Try that?

Edit: Didn't read that you solved!!!
Reply


Messages In This Thread
How i make it smaller ? - by StR_MaRy - 03.06.2017, 18:39
Re: How i make it smaller ? - by Banditul18 - 03.06.2017, 19:17
Re: How i make it smaller ? - by StR_MaRy - 03.06.2017, 19:41
Re: How i make it smaller ? - by Banditul18 - 03.06.2017, 20:19
Re: How i make it smaller ? - by Kane - 03.06.2017, 23:50

Forum Jump:


Users browsing this thread: 1 Guest(s)