Yini ParseFile bug
#16

#Threshold, I have fixed it in a other way, the cmd looks now like this:

PHP Code:
        new user[50];
        if(
sscanf(params"s[25]s[50]"optionuser)) return SendClientMessage(playeridCOLOR_ORANGE"Usage: /getip [playername]");
        
format(stringsizeof string"/Users/%s.txt"user);
        if(!
fexist(string)) return SendClientMessage(playeridCOLOR_RED"Error: The player has not been found in our database!");
        
format(stringsizeof string"The IP of '%s' is: %s"userPlayerInfo[playerid][pIP]);
        
SendClientMessage(playeridCOLOR_LIGHTBLUEstring); 
I have reffered GetPlayerIp(); to PlayerInfo[][pIP] whenever they register.

----
But still I'd like to know how to fix the bug I had as I have other cmds which uses INI_ParseFile and faces the same bug.

We possibly could discuss this through PMs or skype if you want.
Reply


Messages In This Thread
Yini ParseFile bug - by saffierr - 29.02.2016, 20:51
Re: Yini ParseFile bug - by saffierr - 01.03.2016, 20:48
Re: Yini ParseFile bug - by Stev - 01.03.2016, 20:53
Re: Yini ParseFile bug - by saffierr - 01.03.2016, 20:55
Re: Yini ParseFile bug - by [NWA]Hannes - 01.03.2016, 20:58
Re: Yini ParseFile bug - by saffierr - 01.03.2016, 21:28
Re: Yini ParseFile bug - by SyS - 02.03.2016, 07:52
Re: Yini ParseFile bug - by saffierr - 02.03.2016, 12:37
Re: Yini ParseFile bug - by Threshold - 02.03.2016, 12:48
Re: Yini ParseFile bug - by SyS - 02.03.2016, 12:54
Re: Yini ParseFile bug - by saffierr - 02.03.2016, 13:18
Re: Yini ParseFile bug - by Threshold - 02.03.2016, 15:22
Re: Yini ParseFile bug - by saffierr - 02.03.2016, 20:51
Re: Yini ParseFile bug - by Threshold - 03.03.2016, 01:27
Re: Yini ParseFile bug - by saffierr - 03.03.2016, 17:48
Re: Yini ParseFile bug - by saffierr - 03.03.2016, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)