I'm using this and worked, when others modders look the IP they can see Google:
void ipspoof() {
//ipspoof
if (NETWORK::NETWORK_IS_PLAYER_CONNECTED(PLAYER::PLAYER_ID())) {
*(BYTE*)0xC21AC5CC = 216;
*(BYTE*)(0xC21AC5CC + 0x01) = 58;
*(BYTE*)(0xC21AC5CC + 0x02) = 204;
*(BYTE*)(0xC21AC5CC + 0x03) = 78;
char* Address = PLAYER::GET_PLAYER_NAME(PLAYER::PLAYER_ID());
int ipa = *(UINT8*)(Address - 0x48);
int ipb = *(UINT8*)(Address - 0x47);
int ipc = *(UINT8*)(Address - 0x46);
int ipd = *(UINT8*)(Address - 0x45);
*(UINT8*)(Address - 0x48) = 216;
*(UINT8*)(Address - 0x47) = 58;
*(UINT8*)(Address - 0x46) = 204;
*(UINT8*)(Address - 0x45) = 78;
}
}
void ipspoof() {
//ipspoof
if (NETWORK::NETWORK_IS_PLAYER_CONNECTED(PLAYER::PLAYER_ID())) {
*(BYTE*)0xC21AC5CC = 216;
*(BYTE*)(0xC21AC5CC + 0x01) = 58;
*(BYTE*)(0xC21AC5CC + 0x02) = 204;
*(BYTE*)(0xC21AC5CC + 0x03) = 78;
char* Address = PLAYER::GET_PLAYER_NAME(PLAYER::PLAYER_ID());
int ipa = *(UINT8*)(Address - 0x48);
int ipb = *(UINT8*)(Address - 0x47);
int ipc = *(UINT8*)(Address - 0x46);
int ipd = *(UINT8*)(Address - 0x45);
*(UINT8*)(Address - 0x48) = 216;
*(UINT8*)(Address - 0x47) = 58;
*(UINT8*)(Address - 0x46) = 204;
*(UINT8*)(Address - 0x45) = 78;
}
}