Help with Y_ini.
#1

Hi! How can I know if a file already exists using Y_ini. Y need something like
Код:
if(dini_Exists(file))
Thanks, I don't want to use dini anymore.

Greetings from Spain.
Reply
#2

Erm, use fexist.


pawn Код:
if(fexist("Folder/Name.ini"))
{

     //True

}
else
{

     //False

}
Reply
#3

lol, start looking at the default SA:MP functions before using includes
Reply
#4

Thanks Zh3ro. It works.
Now I need make something like that with Y_ini:
Код:
format(comprobante, sizeof(comprobante), "%s", dini_Get(archivo, "Pass"));
I'm learning to use Y_ini. xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)