Saving strings with Dini
#1

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:

Код:
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:");
}
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.
Reply


Messages In This Thread
Saving strings with Dini - by [RVRP]Tyler - 09.06.2011, 01:25
Re: Saving strings with Dini - by futuretrucker - 09.06.2011, 01:38
Re: Saving strings with Dini - by [RVRP]Tyler - 09.06.2011, 01:41
Re: Saving strings with Dini - by Mean - 09.06.2011, 07:50

Forum Jump:


Users browsing this thread: 1 Guest(s)