Retrieving one line from a player file.
#7

hey!

try this..

do like this:

Код:
new File:PlayerIP = fopen(LuckyGuy, io_read);
new string[50], Ip[20];
while (fread(PlayerIP, string))
{
     if(!strcmp(string, "IP = ",true, strlen("IP = ")))
     {
            strmid(Ip, string, strlen("IP = "), strlen(string) - 2);
     }
}
Reply


Messages In This Thread
Retrieving one line from a player file. - by Binx - 18.08.2013, 01:33
Re: Retrieving one line from a player file. - by Binx - 18.08.2013, 15:04
Re: Retrieving one line from a player file. - by Jefff - 18.08.2013, 18:02
Re: Retrieving one line from a player file. - by Binx - 18.08.2013, 18:17
Re: Retrieving one line from a player file. - by Jefff - 18.08.2013, 18:23
Re: Retrieving one line from a player file. - by Binx - 18.08.2013, 18:56
Re: Retrieving one line from a player file. - by avivelkayam - 18.08.2013, 19:04
Re: Retrieving one line from a player file. - by Ada32 - 18.08.2013, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)