29.07.2015, 12:15
You can't use file functions with y_ini combined (i think) ..
Use that:
Create file like that:
EDIT: You are Romanian , like me , if you want more help you can PM me
Use that:
Create file like that:
Код:
new INI:File = INI_Open("file.ini"); INI_WriteInt(File, String[], Value) // or something like that - String what to write / value = the value (That it's for integer values ...
Код HTML:
Stock: INI_Load - Loads an INI file using standard features. INI_ParseFile - Loads a file as an ini and distributes data. INI_GetEntryName - Gets the name of an INI item. INI_GetEntryText - Gets the value of an INI item. INI_Open - Opens an INI for writing. INI_Close - Closes an INI being written to. INI_SetTag - Sets a subheading in an INI fo subsequent writes. INI_WriteString - Writes a string to an INI. INI_WriteInt - Writes an int to an INI. INI_WriteFloat - Writes a float to an INI. INI_WriteHex - Writes a hex to an INI. INI_WriteBin - Writes a binary to an INI. INI_WriteBool - Writes a boolean to an INI. INI_RemoveEntry - Remove an entry from a file. Static: INI_WriteBuffer - Writes an INI's buffer to the file. INI_AddToBuffer - Adds a string to an INI buffer. Inline: INI_Int - Parse an integer INI entry. INI_Float - Parse a float INI entry. INI_Hex - Parse a hex INI entry. INI_Bin - Parse a binary INI entry. INI_Bool - Parse a binary INI entry. INI_String - Parse a string INI entry.
