GetPlayerIp(playerid, pInfo[playerid][IP], 16); // pInfo[playerid][IP] is a string ?pInfo[playerid][IP] = cache_get_field_content_int(0,"IP"); // because, here you store an integer