26.07.2009, 08:35
new ip[16];
GetPlayerIp(playerid, ip, 16);
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
GetPlayerIp(playerid, ip, 16);
Код:
if (!strcmp(ip, "10.10.11.12")) { DoSomething(); } else{SendClientMessage(playerid,color,"your ip do not 10.10.11.12");
-----
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