@name Entity Help
#[
entity(N)		 Gets the entity associated with the id
owner()		 Gets the owner of the expression ( same as entity():owner() )
E:id()		 Gets the numeric id of an entity
noentity()		 Returns an invalid entity
E:type()		 Gets the class of an entity
E:model()		 Gets the model of an entity
E:owner()		 Gets the owner of an entity
E:name()		 Gets the name of a player
E:steamID()		 Gets the steam ID of the player
E:isSteamFriend(E)		 Returns if the given Entity is a steam friend of the first Entity
E:steamFriends()		 Returns a Array with E's steam friends on the server E is playing on
E:pos()		 Gets the position of the entity
E:eye()		 Gets a players view direction else entity forward direction
E:eyeAngles()		 Gets a players view direction
E:eyeTrace()		 Equivalent to rangerOffset(16384, E:shootPos(), E:eye()), but faster (causing less lag)
E:shootPos()		 Returns a players shoot position
E:aimEntity()		 Returns the entity that the entity is aiming at
E:aimBone()		 Returns the bone the player is currently aiming at
E:aimPos()		 Returns the point that the entity is looking at
E:aimNormal()		 Returns a normalized directional vector perpendicular to the surface pointed at
E:frags()		 Returns the number of kills the player has made
E:deaths()		 Returns the number of times the player died
E:team()		 Returns the team number a player is on
N:teamName()		 Returns the name of the team associated with the team number
teamColor(N)		 Returns the color of the team associated with the team number
E:forward()		 Gets the forward direction of the entity 2)
E:right()		 Gets the right direction of the entity
E:up()		 Gets the up direction of the entity
E:vel()		 Gets the velocity of the entity
E:velL()		 Gets the local velocity of the entity
E:boxCenter()		 Gets the center of the entity's bounding box, as a local position vector
E:boxMax()		 Gets the maximum local XYZ of the entity's bounding box (the "highest" corner), as a local position vector
E:boxMin()		 Gets the minimum local XYZ of the entity's bounding box (the "lowest" corner), as a local position vector
E:boxSize()		 Gets the dimensions of the entity's bounding box as a vector (length, width, height)
E:toWorld(V)		 Transforms from a vector local to E to a world vector.
E:toLocal(V)		 Transforms from a world vector to a vector local to E.
E:toWorld(A)		 Transforms from an angle local to E to a world angle.
E:toLocal(A)		 Transforms from a world angle to an angle local to E.
E:toWorldAxis(V)		 Transforms an axis local to E to a global axis.
E:toLocalAxis(V)		 Transforms a world axis to an axis local to E.
E:angVel()		 Gets the angular velocity of the entity
E:angVelVector()		 Returns rotation axis, velocity and direction given as the vector's direction, magnitude and sense
E:angles()		 Gets the pitch, yaw and roll of the entity
E:radius()		 Gets the size of the object (not precisely, but useful)
E:height()		 Gets the height of a player or npc
E:bearing(V)		 Gets the bearing from the entity to the vector
E:elevation(V)		 Gets the elevation from the entity to the vector
E:heading(V)		 Gets the elevation and bearing from the entity to the vector
E:health()		 Gets the health of the entity
E:armor()		 Gets the armor of the player
E:volume()		 Gets the volume of the entity
E:mass()		 Gets the mass of the entity
E:timeConnected()		 Returns a players time connected to a server
E:massCenter()		 Gets the Center of Mass of the entity
E:massCenterL()		 Gets the center of mass as a local vector
E:setMass(N)		 Sets the mass of the entity (between 0.001 and 50,000)
E:inertia()		 Gets the principal components of the entity's inertia tensor in the form ( Ixx, Iyy, Izz )
E:applyForce(V)		 Applies force to the entity according to the given vector's direction and magnitude
E:applyOffsetForce(V,V)		 Applies force to the entity according to the first vector from the location of the second
E:applyAngForce(A)		 Applies torque to the entity according to the given angle
E:applyTorque(V)		 Applies torque according to the given vector, representing the torque axis, magnitude and direction
E:isPlayer()		 Is the entity a player?
E:isOnFire()		 Is the entity on fire?
E:isWeapon()		 Is the entity a weapon?
E:isNPC()		 Is the entity a NPC?
E:isFrozen()		 Is the entity frozen?
E:isVehicle()		 Is the entity a vehicle?
E:inVehicle()		 Is the player in a vehicle?
E:isWorld()		 Is the entity the world?
E:isOnGround()		 Is the player/NPC resting on something?
E:isUnderWater()		 Is the entity under water?
E:isPlayerHolding()		 Is the entity being held by a player?
E:isAdmin()		 Is the player an admin?
E:isSuperAdmin()		 Is the player a super admin?
E:isAlive()		 Is the player or NPC alive?
E:isCrouch()		 Is the player crouching?
E:inNoclip()		 Is the player in noclip mode?
E:friends()		 Returns an array of players on the prop protection friends list.
E:trusts(E2)		 Is E2 on the prop protection friends list of E?
E:keyAttack1()		 Is the player pressing their primary fire key?
E:keyAttack2()		 Is the player pressing their secondary fire key?
E:keyUse()		 Is the player pressing their use key?
E:driver()		 Returns the driver of the vehicle if there is one, nil otherwise
E:passenger()		 Returns the passenger of the vehicle if there is one, in single seat pods this will return the driver.
E:vehicle()		 Returns the entity of the vehicle that the specified player is in
E:lockPod(N)		 1 locks and 0 unlocks vehicle
E:ejectPod()		 Ejects player in vehicle
E:killPod()		 Kills player in vehicle
E:weapon()		 Returns the weapon that player E is currently holding
E:clip1()		 Returns the amount of ammo in the primary clip of weapon E, -1 if there is no primary clip
E:clip2()		 Returns the amount of ammo in the secondary clip of weapon E, -1 if there is no secondary clip 1)
E:primaryAmmoType()		 Returns the type of primary ammo of weapon E as a number in a string
E:secondaryAmmoType()		 Returns the type of secondary ammo of weapon E as number in a string
E:ammoCount(S)		 Returns the amount of stored ammo of type S on player E, excluding current clip
E:tool()		 returns the name of the tool the player E is currently holding
E:removeTrails()		 Removes the trail from E
E:setTrails(N,N,N,S,V,N)		 StartSize, EndSize, Length, Material, Color (RGB), Alpha
Adds a trail to E with the specified attributes.
E:setTrails(N,N,N,S,V,N,N,N)		 StartSize, EndSize, Length, Material, Color (RGB), Alpha, AttachmentID, Additive
Adds a trail to E with the specified attributes.
E:lookupAttachment(string attachmentName)		 Returns E's attachment ID associated with attachmentName
E:attachmentPos(attachmentID)		 Returns E's attachment position associated with attachmentID
E:attachmentAng(attachmentID)		 Returns E's attachment angle associated with attachmentID
E:attachmentPos(string attachmentName)		 Same as E:attachmentPos(E:lookupAttachment(attachmentName))
E:attachmentAng(string attachmentName)		 Same as E:attachmentAng(E:lookupAttachment(attachmentName))
