IP read and check
#1

Hi,

i tried to check the ips of the players on login with their nicknames.

Thats all okay, but now i want to search the ip if another player comes online and if they have the same or is like that, i will get a adminwarning

IP Search and save is okay

new ip[16];
new angabe[64];
GetPlayerIp(playerid,ip,sizeof(ip));
format(angabe,sizeof(angabe),"Name: %s IP: %s\n",playername,ip);
new File:ftw=fopen("IPlog.txt",io_append);
fwrite(ftw,angabe);
fclose(ftw);

But now i must search it and also get out the name of it... Thats really hard. I dont know how to do it another way.
Reply


Messages In This Thread
IP read and check - by Master_FM - 04.09.2009, 10:05
Re: IP read and check - by MenaceX^ - 04.09.2009, 12:43
Re: IP read and check - by Master_FM - 04.09.2009, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)