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