FileManager.inc or similliar?
#1

Do anyone have mirror for https://sampforum.blast.hk/showthread.php?tid=92246 or something similliar?
I need to create a folder for each user.
Reply
#2

http://www.jatochnietdan.com/project/sa-mp/filemanager

YSF plugin has got similar functions too for directories.
Reply
#3

Thanks alot!, been looking for it.

-Repped.
Reply
#4

Edit: I got this "problem", dir_create doesn't create the folder.
dir_create(playername(playerid));
Reply
#5

If you do it like that, it will create the directory in the main folder where samp-server (samp03svr) is located and not in scriptfiles.
Reply
#6

Quote:
Originally Posted by Konstantinos
View Post
If you do it like that, it will create the directory in the main folder where samp-server (samp03svr) is located and not in scriptfiles.
Then how?
Reply
#7

pawn Code:
new
    dir_n[MAX_PLAYER_NAME + 13] = "scriptfiles\\";
       
strcat(dir_n, playername(playerid));
dir_create(dir_n);
Reply
#8

Yay, Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)