08.04.2010, 20:19
format(IP, sizeof(IP), ip); This makes an empty string. You would need to replace it with format(IP, sizeof(IP), "%s", ip);
but I dont think its necessary to make a string for IP.. just if(!strcmp(ip, plrip, false))
EDIT: I was wrong about that
but I dont think its necessary to make a string for IP.. just if(!strcmp(ip, plrip, false))
EDIT: I was wrong about that
