16.03.2019, 15:22
You can use a plugin to get a list of the files, then loop through them.
For example https://sampforum.blast.hk/showthread.php?tid=653119
There's an example in the thread to show how to loop through a directory.
Alternatively, if it's a thing you want to do only once, you can use a .bat file to generate a file list, open that file with the file functions and loop through that.
Although the first option should be more convenient.
For example https://sampforum.blast.hk/showthread.php?tid=653119
There's an example in the thread to show how to loop through a directory.
Alternatively, if it's a thing you want to do only once, you can use a .bat file to generate a file list, open that file with the file functions and loop through that.
Although the first option should be more convenient.