#1

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?
Reply
#2

Have you the newest Version? And use you Y_INI for it? And have you that on your script?

Quote:

(folder [])

https://sampforum.blast.hk/showthread.php?tid=218026
Reply
#3

Here's the 'native':
pawn Код:
dir_exists(directory[]); // Check if a directory exists
Reply
#4

Quote:
Originally Posted by Blackazur
Посмотреть сообщение
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
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"
Reply
#5

Use this 'dfile_DirectoryExists' or this 'dfile_FileExists'
Reply
#6

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 ..
Reply
#7

Then use dFile_FileExists
Reply
#8

Quote:
Originally Posted by Roach_
Посмотреть сообщение
Then use dFile_FileExists
xD
i want to create a folder when a player do command .. :S
Reply
#9

Use dfile_Create(file[]);
Reply
#10

Quote:
Originally Posted by Roach_
Посмотреть сообщение
Use dfile_Create(file[]);
but it's create .text file ..
i want it's create a folder ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)