SA-MP Forums Archive
Fast dini question - 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: Fast dini question (/showthread.php?tid=236857)



Fast dini question - sim_sima - 08.03.2011

Can anyone tell me what the difference between
pawn Код:
if (!dini_Exists(file))
(Both with and without the "!")
and
pawn Код:
if(fexist(file))
is in Dini?

Hope you can help me. Thank you.


Re: Fast dini question - Scrip - 08.03.2011

give the all code then i can help you!


Re: Fast dini question - sim_sima - 08.03.2011

Well, there is not really any code yet, im just wondering what the difference between those 2 is.


Re: Fast dini question - sim_sima - 08.03.2011

Seriousley? No one knows?


Re: Fast dini question - 1337connor - 08.03.2011

pawn Код:
if(!dini_Exists(file)) // If it doesn't exist
if(fexists(file)) // if it exists
// or...
if(dini_Exists(file)) // If it exists.
// the ! means .. DOESN'T
Note: fexists isn't default to dini.. it is part of the default file system.
Hope this helps!


Re: Fast dini question - sim_sima - 08.03.2011

Thank you.