20.12.2010, 18:34
(
Last edited by armyoftwo; 20/12/2010 at 07:16 PM.
)
I'm trying to make MULTI-LANGUAGE support
For example i have
In the file, so this is how i read this??
and then i will sscanf the line
Got this too
I have the newest YSI
pawn Code:
stock SCM(playerid, color, ID)
{
new LanguageFile[24];
new PlayerLanguageString[24];
new Line[128];
GetPVarString(playerid, "PLAYER_LANGUAGE", PlayerLanguageString, 24);
format(LanguageFile, 24, "Languages/%s.lang", PlayerLanguageString);
format(PlayerLanguageString, 24, "LineID:%i", ID);
INI_Load(LanguageFile);
INI_String(Line, PlayerLanguageString );
printf("Line: %s", Line);
}
Code:
LineID:1|Laipni lūgts manā serverī
and then i will sscanf the line
Got this too
Code:
error 017: undefined symbol "INI_String"