BeginnerBR
Solid & Active Platinian
I did esp in some games, but there is one that I'm not getting, every time I put the offset that indicates the entity's life, the game crashes, I've already checked the player update but it still doesn't work
when I put field offset referring to the life of entities in the game, it crashes but if I put any other random offset, the game does not crash but nothing happensprovide example
this function is correct, what is wrong is the camera and worldtoposition function, try to fix it yourselfwhen I put field offset referring to the life of entities in the game, it crashes but if I put any other random offset, the game does not crash but nothing happens
float GetPlayerHealth(void* player) {
return *(float *)((uint64_t)player + 0x84);
}
bool PlayerAlive(void *player) {
return player != NULL && GetPlayerHealth(player) > 0;
}
bool IsPlayerDead(void *player) {
return player == NULL && GetPlayerHealth(player) < 1;
}