INI_WriteString and ...?
#2

Well... INI_String is the correct way to go, BUT, some people often forget to add the string length/cell usage into INI_String.

Most Commonly Mistaken Use:
pawn Код:
INI_String(myfile, "PlayerName", savedname);
Proper Usage:
pawn Код:
INI_String(myfile, "PlayerName", savedname, 24);
Unlike INI_Int or INI_Float, this function DOES use an extra parameter. Without it, it usually returns a 'Undefined Symbol: INI_String' error.
Reply


Messages In This Thread
INI_WriteString and ...? - by Da_Noob - 13.03.2013, 15:04
Re: INI_WriteString and ...? - by Threshold - 13.03.2013, 15:18
Re: INI_WriteString and ...? - by Da_Noob - 13.03.2013, 15:28

Forum Jump:


Users browsing this thread: 2 Guest(s)