Y_INI reading help
#1

I'm trying to make MULTI-LANGUAGE support
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);
}
For example i have
Code:
LineID:1|Laipni lūgts manā serverī
In the file, so this is how i read this??
and then i will sscanf the line

Got this too
Code:
error 017: undefined symbol "INI_String"
I have the newest YSI
Reply
#2

bump
Reply
#3

anyone?
Reply
#4

I can't use Both YSI, how can i use them both?
And it crashes my compiler
Reply
#5

bump
Reply
#6

bump
Reply
#7

I need help with this too :-O

Please anyone!
Reply
#8

Read the rules, its 48 hours to bump something. And make sure you read the y_ini topic because ****** is very descriptive. if you want multilanguage, you should look into ycmd (for cmds)
Reply
#9

Bumb again, comon someone!
Reply
#10

i had same problem help!!!!!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)