rf0odxm0dz

RDR3 Get Entity Address 1.24-EU by rfoodxmodz

Jul 24th, 2021 (edited)
1,262
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _DWORD getEntityAddress(int Entity)
  2.     {
  3.     _DWORD v4;
  4.     _DWORD v5;
  5.     _DWORD v6;
  6.     _DWORD v7;
  7.     v4 = (unsigned int)(Entity >> 8);
  8.     _DWORD v8 = *(_DWORD*)(0x9298D28);
  9.     v5 = *(_DWORD*)(v8 + 8) + (unsigned int)(*(_DWORD *)(v8 + 28) * v4);
  10.     v6 = *(_DWORD*)(v5 + 8);
  11.     return v6;
  12.     }
  13.  
  14. #example
  15. bool IsEntityStatic(int Entity) {
  16.        _DWORD entityAddr = getEnttiyAddress(Entity);
  17.        if ( *(_BYTE *)(entityAddr + 790) ) {
  18.         return true;
  19.         }
  20.     return false;
  21.     }
  22.  
  23. //Made By rfoodxmodz
RAW Paste Data