SA-MP Forums Archive
SetGVarString and INI_ParseFile - 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: SetGVarString and INI_ParseFile (/showthread.php?tid=185333)



SetGVarString and INI_ParseFile - Zh3r0 - 24.10.2010

So i have SetGVarString and INI_ParseFile to parse the specified file, get name and value, and set the value then use GetGVarString to get the inserted value.But there is a problem.

Here is my code.
This is parse file.
http://pastebin.com/NSVbWWup

And this is what i use, i want to get player's aka from a file, but it doesnt work, when i join it says something like
Zh3r0(ID: 15673 ) Joined The Eclipse [AKA: Doь] <-- Strange ID and Strange aka...
http://pastebin.com/D88TrJNu

This is what i have in the AKA file.
192.168.1.2 = TESTETSTETSTETSTSTSTETSTSTETSTSTE

These are the resources i use:
Y_Ini
GVar Plugin