Originally Posted by
LargeFrameGuy
Hi guys!
I am making my first radar. I am pretty novice in making hacks. But I have a big problem.
I have searched the whole Entity array for ET_PLAYER but i couldn't find a single one. So I can't locate the enemy.
I can read the sturcts, but I can't find the positions of the enemy players.
Please help me!
Thanks a lot.
Entity_T doesn't hold that, it's an ENUM...
Here:
Code:
enum entity_type_t
{
ET_GENERAL= 0,
ET_PLAYER= 1,
ET_PLAYER_CORPSE= 2,
ET_ITEM= 3,
ET_EXPLOSIVE= 4,
ET_INVISIBLE= 5,
ET_SCRIPTMOVER= 6,
ET_SOUND_BLEND= 7,
ET_FX= 8,
ET_LOOP_FX= 9,
ET_PRIMARY_LIGHT= 10,
ET_TURRET= 11,
ET_HELICOPTER= 12,
ET_PLANE= 13,
ET_VEHICLE= 14,
ET_VEHICLE_COLLMAP= 15,
ET_VEHICLE_CORPSE= 16,
ET_VEHICLE_SPAWNER= 17
};
So it's like:
Code:
if(Entities[i].Type == ET_PLAYER && Entity[i].Valid && (Entity.Alive&1))
{
//Do stuff
}