Question and Help
#3

Quote:
Originally Posted by Abagail
View Post
It shows the rest because that's exactly what you tell it to. You need to use an if statement and check if the faction is in use or not. Example,
pawn Code:
for(new i = 1; i < sizeof(FactionInfo); i++)
{
         if(FactionInfo[i][fStatus] == 0) continue;
The continue command tells the server to skip to the next iteration.
thx , it worked
Reply


Messages In This Thread
Question and Help - by StR_MaRy - 18.06.2017, 18:52
Re: Question and Help - by Abagail - 18.06.2017, 18:57
Re: Question and Help - by StR_MaRy - 18.06.2017, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)