Problem with IPs
#2

I have something like this in my script

pawn Код:
new ip[32],string[256];
GetPlayerIp(playerid,ip,32);

new idx = strfind(ip1, ".",true);
new idx2 = strfind(ip1, ".", true, idx+1);

if (strcmp(ip1, *insert stored ip here*, true, idx2) == 0)
{
  // here you go
}
Reply


Messages In This Thread
Problem with IPs - by x-cutter - 05.03.2009, 13:01
Re: Problem with IPs - by [RP]Rav - 05.03.2009, 13:07
Re: Problem with IPs - by x-cutter - 05.03.2009, 16:22

Forum Jump:


Users browsing this thread: 2 Guest(s)