Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _DWORD getEntityAddress(int Entity)
- {
- _DWORD v4;
- _DWORD v5;
- _DWORD v6;
- _DWORD v7;
- v4 = (unsigned int)(Entity >> 8);
- _DWORD v8 = *(_DWORD*)(0x9298D28);
- v5 = *(_DWORD*)(v8 + 8) + (unsigned int)(*(_DWORD *)(v8 + 28) * v4);
- v6 = *(_DWORD*)(v5 + 8);
- return v6;
- }
- #example
- bool IsEntityStatic(int Entity) {
- _DWORD entityAddr = getEnttiyAddress(Entity);
- if ( *(_BYTE *)(entityAddr + 790) ) {
- return true;
- }
- return false;
- }
- //Made By rfoodxmodz
Add Comment
Please, Sign In to add comment