Functions explanation
#1

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)