Functions explanation - 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: Functions explanation (
/showthread.php?tid=275313)
Functions explanation -
[MG]Dimi - 09.08.2011
dini_Create(filename[]) To Create File?
dini_Set(filename[],key[],value[]) To create new line in file like Kills etc.? Key is like Kills and value is ammount?
dini_IntSet(filename[],key[],value) To replace Vakue in Key?
dini_Int(filename[],key[]) Idk
dini_FloatSet(filename[],key[],Float:value) idk
Float:dini_Float(filename[],key[]) Idk
dini_Bool(filename[],key[]) Idk
dini_BoolSet(filename[],key[],value) I think its like bool for account like true/false?
dini_Unset(filename[],key[]) Delete line from file?
dini_Get(filename[],key[]) Get Value In key?
dini_Isset(filename[],key[]) Idk
DINI_StripNewLine(string[]) Idk
DINI_fcopytextfile(oldname[],newname[]) Idk
Im just aking to tell me point/use of functions that I dont know where to use and to confirm ones I told
Re: Functions explanation -
JaTochNietDan - 09.08.2011
Have you tried searching at all before making this topic? The entire documentation for the dini API is available on the SA-MP Wiki here:
https://sampwiki.blast.hk/wiki/Useful_Fu....28Dini.inc.29
Re: Functions explanation -
Grim_ - 09.08.2011
Why would you use the dini library? It is probably the worst method of file saving/reading available. I highly suggest you read up on the default file functions. If you are having trouble understanding them, and yes, it will take time to understand them and get use to, then you can look at more efficient, up-to-date file systems. These include, djSon, SII, y_ini, etc.