Rename player functions from util

valid_client -> valid_player
get_entity -> get_player
This commit is contained in:
8dcc
2023-07-24 17:06:06 +02:00
parent b1d55be039
commit f3046d6ac8
4 changed files with 10 additions and 10 deletions

View File

@@ -66,10 +66,9 @@ void esp(void) {
/* Iterate all clients */
for (int i = 1; i <= i_engine->GetMaxClients(); i++) {
cl_entity_t* ent = get_entity(i);
cl_entity_t* ent = get_player(i);
if (!ent || !valid_client(ent) || !is_alive(ent) ||
vec_is_zero(ent->origin))
if (!valid_player(ent) || !is_alive(ent) || vec_is_zero(ent->origin))
continue;
const int bh = 70;