Problem with dini string get
#1

Hi, I have small problem with string get from file.

Код:
locale(locale[], variable[])
{
	new file[128], info[500];
	format(file, 128, "locales/%s.txt", locale);
	info = dini_Get(file, variable);
	return info;
}
on using with print on console print <null>
Код:
print(locale("lithuanian", "locale[0]"));
on server empty message
Код:
SendClientMessage(playerid, 0xFF0000FF, locale("lithuanian", "locale[0]"));
on file I have this:
Код:
locale[0]=An lithuaniain text message.
where is problem?
Reply
#2

Help please.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)