warning 213: tag mismatch
#1

hello, i'm working on code.. i make to save cfg but i got warning
warning 213: tag mismatch

Код:
forward  UcitajCFG(name[], value[]);
public UcitajCFG(name[], value[])
{
	INI_Int("HappyHour",CFG[cHappy]); // here is warning
	return 1;
}
Reply
#2

Can you show us where your CFG enum is declared? You might be missing a _: there, like so:
Код:
	INI_Int("HappyHour", _:CFG[cHappy]); // here is warning
Please let me know if this helps!
Reply
#3

Код:
enum config
{
	bool:cHappy
};
new CFG[config];
Reply
#4

That seems to confirm what I was saying. Either you remove bool: in your enum, either you add _: in your INI_Int() argument. If there is a INI_Bool() available, it would be best to use this instead.
Reply
#5

thanks. rep+
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)