entity
Interact with cached entities, usually just player info in this case.
When using the Entity API the info is returned from what the cheat has saved for it's own usage. It's safe to use these functions within the paint callback and experience little to no performance drawbacks.
By default, when using the get_players
function in conjunction with the get_address
function, the returned address will correspond to a CCSPlayerController
.
Functions:
Get All
Returns an array with all entities that have the specified schema. Returns the class if an empty string is passed in schema
.
Get Players
Returns a table of players. If only_enemies
isn't passed it will default to false. The local player and dead players will be excluded.
Get Local Player
Returns the local player.
Get Target
Returns the aimbot target.
Player Methods:
Get Position
Returns the player positon as vector (x, y, z).
Get Name
Returns the player name as a string.
Get Team
Returns the players team name as a string.
Get Bounding Box
Returns the player bounding box as x, y, w, h which are screen coordinates.
Is Alive
Returns true if the player is alive.
Is Enemy
Returns true if the player is an enemy.
Is Visible
Returns true if the player is visible.
Get Weapon
Returns the players currently held weapon index as an int.
Get Weapon Name
Returns the players currently held weapon as a string.
Get Health
Returns the players current health as an int.
Get Max Health
Returns the players maximum health as an int.
Get Ammo
Returns the players current ammo as an int.
Get Max Ammo
Returns the players maximum ammo as an int.
Bone Position
Returns the position of the specified bone as x, y, z. (Ex. 6 known as Head)
Bone Indices: Pelvis = 0, Stomach = 2, Chest = 4, Neck = 5, Head = 6, LeftShoulder = 8, LeftElbow = 9, LeftHand = 10, RightShoulder = 13, RightElbow = 14, RightHand = 15, LeftThigh = 22, LeftKnee = 23, LeftFoot = 24, RightThigh = 25, RightKnee = 26, RightFoot = 27
Get Address
Returns the players address.
Get Pawn
Returns the players pawn.
Entity Methods:
Get Address
Returns the entities address.
Get Schema Name
Returns the schema name as a string.
Last updated