04/12/2022 21:47
Com DOF2 não é possivel.
Mas existe esse plugin que com ele é possivel:
https://github.com/JaTochNietDan/SA-MP-FileManager
Como utilizar:
Mas existe esse plugin que com ele é possivel:
https://github.com/JaTochNietDan/SA-MP-FileManager
Como utilizar:
Código:
new dir:dHandle = dir_open("./");
new item[40], type;
while(dir_list(dHandle, item, type))
{
if(type == FM_FILE) printf("%s is a file", item);
else if(type == FM_DIR) printf("%s is a directory", item);
}
dir_close(dHandle);