Untitled
unknown
c_cpp
5 months ago
850 B
4
Indexable
entity_info_data get_full_data_local(uint64_t entity_address) { entity_info_data buf; buf.type = driver::read<uint16_t>(entity_address + offsets::player::entity_type); buf.index = driver::read<uint16_t>(entity_address + offsets::player::entity_index); buf.flags = driver::read<uint32_t>(entity_address + offsets::player::valid); buf.pos = driver::read<vec3_t>(entity_address + offsets::player::entity_pos); uint8_t v = driver::read<uint8_t>(entity_address + offsets::player::valid); buf.is_valid = (v & 1); buf.is_dead = (buf.flags >> 0x11) & 1; return buf; } static uintptr_t entity_size = 0x4F0; // updated 10/23 static uintptr_t entity_type = 0x388; // updated 10/23 static uintptr_t entity_index = 0x380; // updated 10/23 static uintptr_t entity_pos = entity_type + 0x1C; // updated 10/23
Editor is loading...
Leave a Comment