09.06.2011, 01:25
I know Dini is outdated blah blah blah but I'm just practicing with it and I'm having some trouble saving a string with it.
It looks a little something like this:
Basically, I'm trying to save the faction name as a string but I get the error "Array sizes do not match" on every single one that is supposed to be a string, like that.
It looks a little something like this:
Код:
enum FactionInformation { FactionName[24] }; new factions[5][FactionInformation]; public SaveFactions { dini_Set(file, "Faction 1 Name:", FactionInfo[1][FactionName]); } public LoadFactions { blahahahaha { FactionInfo[1][FactionName] = dini_Get(file, "Faction 1 Name:"); }