Problem with DIALOG STYLE TABLIST HEADER
#7

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Hm. You need to do a loop which is counting every players with the same faction. Like this :
PHP код:
new count=0;
for(new 
i=0i<MAX_PLAYER; ++)
{
    if(
PlayerInfo[playerid][Faction] != Factionid) continue;
    
counter++;

I should've to put it in each faction, or to double the factionID thingy? give me an example still didn't got how to use it properly.
Reply


Messages In This Thread
Problem with DIALOG STYLE TABLIST HEADER - by DemME - 21.05.2016, 01:17
Re: Problem with DIALOG STYLE TABLIST HEADER - by DemME - 21.05.2016, 01:42
Re: Problem with DIALOG STYLE TABLIST HEADER - by Dayrion - 21.05.2016, 02:08
Re: Problem with DIALOG STYLE TABLIST HEADER - by izeatfishz - 21.05.2016, 02:41
Re: Problem with DIALOG STYLE TABLIST HEADER - by DemME - 21.05.2016, 11:14
Re: Problem with DIALOG STYLE TABLIST HEADER - by Dayrion - 21.05.2016, 13:22
Re: Problem with DIALOG STYLE TABLIST HEADER - by DemME - 22.05.2016, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)