MD: Trident
the best FREE GTAV mod menu
(01-14-2020 - 08:53 PM)Unbound Wrote:pLeAse pOsT XNADDR ePiC 1337Code:VOID PrintPlayerInternalIp(INT a_nPlayerId) {
PVOID l_pNetGamePlayer = ((PVOID(*)(INT))0x82FC1090)(a_nPlayerId);
if (l_pNetGamePlayer == NULL)
return;
XNADDR* l_pXnAddr = (XNADDR*)(((DWORD(*)(PVOID))0x8302EB60)(l_pNetGamePlayer));
if (l_pXnAddr == NULL)
return;
printf("%s: %hhu.%hhu.%hhu.%hhu\n", PLAYER::GET_PLAYER_NAME(a_nPlayerId), l_pXnAddr->ina.S_un.S_un_b.s_b1, l_pXnAddr->ina.S_un.S_un_b.s_b2, l_pXnAddr->ina.S_un.S_un_b.s_b3, l_pXnAddr->ina.S_un.S_un_b.s_b4);
}
(01-14-2020 - 09:22 PM)Unbound Wrote:;)(01-14-2020 - 09:04 PM)TheBigNooga Wrote:its LiteRaLLy BuiLT inTo The SdK(01-14-2020 - 08:53 PM)Unbound Wrote:pLeAse pOsT XNADDR ePiC 1337Code:VOID PrintPlayerInternalIp(INT a_nPlayerId) {
PVOID l_pNetGamePlayer = ((PVOID(*)(INT))0x82FC1090)(a_nPlayerId);
if (l_pNetGamePlayer == NULL)
return;
XNADDR* l_pXnAddr = (XNADDR*)(((DWORD(*)(PVOID))0x8302EB60)(l_pNetGamePlayer));
if (l_pXnAddr == NULL)
return;
printf("%s: %hhu.%hhu.%hhu.%hhu\n", PLAYER::GET_PLAYER_NAME(a_nPlayerId), l_pXnAddr->ina.S_un.S_un_b.s_b1, l_pXnAddr->ina.S_un.S_un_b.s_b2, l_pXnAddr->ina.S_un.S_un_b.s_b3, l_pXnAddr->ina.S_un.S_un_b.s_b4);
}