He wrote bool instead of BOOL, which is typedef'd as an int, so basically when you do mem.Write<BOOL> you are basically doing mem.Write<int>, when you SHOULD be doing mem.Write<bool>.
Oh and btw, you can just take the the entity list offset like that, liek how you did in int getweap, that wont work..
It souhld be more like (100% PSEUDO):
Oh and btw, you can just take the the entity list offset like that, liek how you did in int getweap, that wont work..
It souhld be more like (100% PSEUDO):
Code:
for (size_t i = 0; i < 64; i++) {
uintptr_t Entity = read<uintptr_t>(clientdll + offEntityList + (i * 0x10)
int classID = read<int>(Entity + somethingIDontKnow)
if (classID == C4ID) {
Save the index or something...
}
}






