SA-MP Forums Archive
How to loop through letters - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to loop through letters (/showthread.php?tid=320383)



How to loop through letters - TheGamer! - 22.02.2012

I try to explain what i need

I tried before like this:
pawn Код:
for(new a='a'; a<='z'; c++)
    {
        for(new b='a'; b<='z'; c++)
        {
            for(new c='a'; c<='z'; c++)
            {
                for(new d='a'; d<='z'; c++)
                {
                    for(new e='a'; e<='z'; c++)
                    {
                        if(fexists(
                    }
                }
            }
        }
    }
I don't know if it works or not and it takes some time...

How to make this?

It will load all file's names...