SA-MP Forums Archive
INI_WriteString bugged - 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)
+--- Thread: INI_WriteString bugged (/showthread.php?tid=582604)



INI_WriteString bugged - Lirbo - 21.07.2015

When I try to write a string the value of the string stays blank, for example i tried to use this one:
PHP код:
new INI:file INI_Open(pFile(playerid));
INI_WriteString(file,"Password","Test");
INI_Close(file); 
and it's shows me at the file:
PHP код:
Password 



Respuesta: INI_WriteString bugged - JuanStone - 21.07.2015

Add a tag.

pawn Код:
new INI:file = INI_Open(pFile(playerid));
INI_SetTag(file, "My_Tag");
INI_WriteString(file, "Password", "Test");
INI_Close(file);