Overwrite an existing Entry in a ini file
#3

Quote:
Originally Posted by Facerafter
Посмотреть сообщение
Try instead of
pawn Код:
INI_WriteString
this
pawn Код:
INI_WriteInt
I had some like that before.
"Rank" is a string, why would you want to write it as an integer?

I'm not very familiarized with y_ini but I think it has something to do with the tags.

Let me quote this from the y_ini thread.

Quote:
Tags

The other feature in yini not in dini is tags within ini files:

Код:
[LVDM]
health = 4.23
pos = 2500 1968 7.3

[SFTDM]
health = 100
pos = -2134 -980 2
If you had two modes (or even just two libraries) in dini, any user system would need to use separate files for each one. Wheras here the different modes' data are separated by tags (the bits in square brackets). This is where the odd syntax in the read function came in.

Could you show us the register part, just to make sure?
Reply


Messages In This Thread
Overwrite an existing Entry in a ini file - by Calvingreen17 - 02.08.2013, 20:08
Re: Overwrite an existing Entry in a ini file - by Facerafter - 02.08.2013, 20:15
Respuesta: Re: Overwrite an existing Entry in a ini file - by Marricio - 02.08.2013, 20:32
Re: Overwrite an existing Entry in a ini file - by Facerafter - 02.08.2013, 20:43
Respuesta: Overwrite an existing Entry in a ini file - by OPremium - 02.08.2013, 20:48
Re: Overwrite an existing Entry in a ini file - by Calvingreen17 - 04.08.2013, 11:37
Re: Overwrite an existing Entry in a ini file - by Calvingreen17 - 05.08.2013, 03:04

Forum Jump:


Users browsing this thread: 2 Guest(s)