SA-MP Forums Archive
Y_INI reading help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Y_INI reading help (/showthread.php?tid=201229)



Y_INI reading help - armyoftwo - 20.12.2010

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


Re: Y_INI reading help - armyoftwo - 21.12.2010

bump


Re: Y_INI reading help - armyoftwo - 21.12.2010

anyone?


Re: Y_INI reading help - armyoftwo - 22.12.2010

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


Re: Y_INI reading help - armyoftwo - 23.12.2010

bump


Re: Y_INI reading help - armyoftwo - 23.12.2010

bump


Re: Y_INI reading help - Lady Cucumber - 23.12.2010

I need help with this too :-O

Please anyone!


Re: Y_INI reading help - Hal - 23.12.2010

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)


Re: Y_INI reading help - Lady Cucumber - 26.12.2010

Bumb again, comon someone!


Re: Y_INI reading help - Mаkaveli - 03.01.2011

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