All IP's save same
#6

pawn Код:
new IP[20], string[50];
    GetPlayerIp(playerid,IP,sizeof(IP));
    format(string,sizeof(string),"IP: %s\n",IP);
    new File:ftw=fopen("IPlog.txt", io_write);
    fwrite(ftw,string);
    fclose(ftw);
    return 1;
    }
this is what i use, i know it saves to a .txt but you can change the writing path and what ever you need to use
Reply


Messages In This Thread
All IP's save same - by CJ101 - 07.08.2009, 23:25
Re: All IP's save same - by Hecky - 07.08.2009, 23:50
Re: All IP's save same - by ruarai - 08.08.2009, 00:35
Re: All IP's save same - by snoob - 08.08.2009, 01:08
Re: All IP's save same - by ruarai - 08.08.2009, 01:43
Re: All IP's save same - by pagie1111 - 08.08.2009, 02:29
Re: All IP's save same - by JaTochNietDan - 08.08.2009, 03:19
Re: All IP's save same - by ruarai - 08.08.2009, 04:01
Re: All IP's save same - by saiberfun - 08.08.2009, 13:05
Re: All IP's save same - by Dj_maryo1993 - 08.08.2009, 13:08

Forum Jump:


Users browsing this thread: 1 Guest(s)