#1

Hello, how can i loop all files ".ini" from a folder ??

For example i have that folder , %s = Player Name

Код HTML:
Bans/%s.ini
I can loop that files that are in "Bans" ? To make a command like that:

Код HTML:
CMD:/bans(playerid, params[])
{
      // some code
      new bans, String[128];

      for(new i=0; i</*How to loop*/; i++) bans++;

      format(String, sizeof(String), "There are %i active bans !", bans);
      SendClientMessage(playerid, -1, String);
  
      return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)