Closed DualByte closed 4 years ago
auto entity = interfaces::entity_list->get_client_entity(i);
entity->health();
Oh thank you.
There is still a one problem. When I do
auto entity = interfaces::entity_list->get_client_entity(i);
entity->health();
The last line gives me a error that says "expression must have pointer-to-class type"
auto entity = reinterpret_cast<player_t*>(interfaces::entity_list->get_client_entity(i));
Thank you!
When I give it a index like this:
for (size_t i = 1; i < 64; i++) { interfaces::entity_list->get_client_entity(i); //How am I supposed to get something out of this? }
I cant get anything from that function.