how to create a folder - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how to create a folder (
/showthread.php?tid=460659)
how to create a folder -
xganyx - 29.08.2013
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)/....
Re: how to create a folder -
tyler12 - 29.08.2013
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
Re: how to create a folder -
Konstantinos - 29.08.2013
That would be pointless in my opinion because if you had a playerbase with 1000 players, it would create 1000 folders.
Re: how to create a folder -
xganyx - 29.08.2013
I tried the file manager plugin but don't work it make a file like Fizz.file don't make a folder...
Re: how to create a folder -
CrazyChoco - 29.08.2013
Use mysql instead of creating a folder for each player..
Re: how to create a folder -
xganyx - 29.08.2013
How to use? I just want to make a empty folder... nothing else
Re: how to create a folder -
xganyx - 30.08.2013
Bump.
Re: how to create a folder -
xganyx - 31.08.2013
Bump.
Re: how to create a folder -
Ada32 - 31.08.2013
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?
Re: how to create a folder -
xganyx - 31.08.2013
What's your mean?