24.05.2011, 14:20
Hey,
I'm wondering, is it possible to detect range IPs with GetPlayerIP?
For example:
I can't test it at this moment, so I'd like to ask it on this forum. I assume it's not possible, but you could always give it a shot.
This would be very useful if you rangeban someone and you'd like to create an exception for a specific IP.
Thanks.
I'm wondering, is it possible to detect range IPs with GetPlayerIP?
For example:
pawn Код:
new pIp[16];
GetPlayerIp(playerid, pIp, sizeof(pIp));
if(strcmp(pip, "76.138.*.*", true) == 0)
This would be very useful if you rangeban someone and you'd like to create an exception for a specific IP.
Thanks.