native read_dir(const dirname[], pos, output[], len, &outlen = 0);
dirname | Path to open |
pos | Index the element |
output | String buffer to hold content |
len | Maximum size of string buffer |
outlen | Number of characters written to the buffer |
Reads content from directory
This native is expensive. Consider the use of open_dir(), next_file() and close_dir() instead.
Both the '.' and '..' automatic directory entries will be retrieved for Windows and Linux.
Returns index of next element, otherwiwe 0 when end of dir is reached
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.