06.04.2012, 19:06
@Viniborn I guess he is. Anyway that's not the problem.
DINI supports setting a single int value to the file, I mean, for example, setting "Admin=2" is possible but setting a few values such as "Weapons=0,22,28" - you can't do that (well, you can with some advanced shits, but that's could be hard to explain right now).
What I suggest you is to use different key for every value, for example "Weapon%d" instead of "Weapons" which the %d is the weapon slot (defined by i in the for loop).
Then you'll be able to write a few values into a few keys.
DINI supports setting a single int value to the file, I mean, for example, setting "Admin=2" is possible but setting a few values such as "Weapons=0,22,28" - you can't do that (well, you can with some advanced shits, but that's could be hard to explain right now).
What I suggest you is to use different key for every value, for example "Weapon%d" instead of "Weapons" which the %d is the weapon slot (defined by i in the for loop).
Then you'll be able to write a few values into a few keys.