dFile - 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: dFile (
/showthread.php?tid=410937)
dFile -
benel1 - 27.01.2013
I started using DFILE and I have a problem I'm trying to create a folder ..
pawn Код:
error 017: undefined symbol "dfile_CreateDirectory"
I do not have the stock "dir_exists" within the file. INC.
Where do I find the stock of this?
AW: dFile -
Blackazur - 27.01.2013
Have you the newest Version? And use you Y_INI for it? And have you that on your script?
https://sampforum.blast.hk/showthread.php?tid=218026
Re: dFile -
Roach_ - 27.01.2013
Here's the 'native':
pawn Код:
dir_exists(directory[]); // Check if a directory exists
Re: dFile -
benel1 - 27.01.2013
Quote:
Originally Posted by Blackazur
|
I downloaded the newest version (1.1.1) and it does not work ..
Quote:
Originally Posted by Roach_
Here's the 'native':
pawn Код:
dir_exists(directory[]); // Check if a directory exists
|
pawn Код:
error 017: undefined symbol "dir_exists"
Re: dFile -
Roach_ - 27.01.2013
Use this '
dfile_DirectoryExists' or this '
dfile_FileExists'
Re: dFile -
benel1 - 27.01.2013
Quote:
Originally Posted by Roach_
Use this 'dfile_DirectoryExists' or this 'dfile_FileExists'
|
dfile_DirectoryExists:
pawn Код:
error 017: undefined symbol "dir_exists"
dfile_FileExists:
No errors ..
Re: dFile -
Roach_ - 27.01.2013
Then use
dFile_FileExists
Re: dFile -
benel1 - 27.01.2013
Quote:
Originally Posted by Roach_
Then use dFile_FileExists ![Cheesy](images/smilies/biggrin.png)
|
xD
i want to create a folder when a player do command .. :S
Re: dFile -
Roach_ - 27.01.2013
Use
dfile_Create(file[]);
Re: dFile -
benel1 - 27.01.2013
Quote:
Originally Posted by Roach_
Use dfile_Create(file[]);
|
but it's create .text file ..
i want it's create a folder ..