13.03.2013, 15:18
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:
Proper Usage:
Unlike INI_Int or INI_Float, this function DOES use an extra parameter. Without it, it usually returns a 'Undefined Symbol: INI_String' error.
Most Commonly Mistaken Use:
pawn Код:
INI_String(myfile, "PlayerName", savedname);
pawn Код:
INI_String(myfile, "PlayerName", savedname, 24);