Help with Y_ini. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with Y_ini. (
/showthread.php?tid=257969)
Help with Y_ini. -
[DOG]irinel1996 - 28.05.2011
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.
Re: Help with Y_ini. -
Zh3r0 - 28.05.2011
Erm, use fexist.
pawn Код:
if(fexist("Folder/Name.ini"))
{
//True
}
else
{
//False
}
Re: Help with Y_ini. -
x-cutter - 28.05.2011
lol, start looking at the default SA:MP functions before using includes
Respuesta: Help with Y_ini. -
[DOG]irinel1996 - 28.05.2011
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