dcmd GetPlayerIp
#3

new ip[16];
GetPlayerIp(playerid, ip, 16);

Код:
if (!strcmp(ip, "10.10.11.12"))
{
  DoSomething();
}
else{SendClientMessage(playerid,color,"your ip do not 10.10.11.12");
Will work?
-----

okay,thanks.
another question: how make to GetPlayerIp was three?
if (!strcmp(ip, "10.10.11.12"))
10.10.11.13
10.10.11.14
To be able to just these three IP
Reply


Messages In This Thread
dcmd GetPlayerIp - by user226 - 26.07.2009, 08:12
Re: dcmd GetPlayerIp - by paytas - 26.07.2009, 08:20
Re: dcmd GetPlayerIp - by user226 - 26.07.2009, 08:35
Re: dcmd GetPlayerIp - by user226 - 26.07.2009, 15:07
Re: dcmd GetPlayerIp - by MadeMan - 26.07.2009, 15:11
Re: dcmd GetPlayerIp - by user226 - 26.07.2009, 15:49

Forum Jump:


Users browsing this thread: 1 Guest(s)