how to create a folder
#1

Like this. I have player name is Fizz
When player type command (zcmd) /makemyfolder and the scriptles already have a file users. How do i make it like this

Код:
/users/Fizz(folder)/....
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=92246

native dir_create(directory[]); // Creates a new directory
native dir_delete(directory[]); // Deletes a directory (Directory MUST be empty!)
native dir_exists(directory[]); // Check if a directory exists
Reply
#3

That would be pointless in my opinion because if you had a playerbase with 1000 players, it would create 1000 folders.
Reply
#4

I tried the file manager plugin but don't work it make a file like Fizz.file don't make a folder...
Reply
#5

Use mysql instead of creating a folder for each player..
Reply
#6

How to use? I just want to make a empty folder... nothing else
Reply
#7

Bump.
Reply
#8

Bump.
Reply
#9

Quote:
Originally Posted by xganyx
Посмотреть сообщение
I tried the file manager plugin but don't work it make a file like Fizz.file don't make a folder...
Can we see what you've tried?
Reply
#10

What's your mean?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)