Classes 59

Class Description
CBaseTrigger:GetName
Grabs the targetname of the trigger
CBaseTrigger:Enable
Enables the trigger
CBaseTrigger:Disable
Disables the trigger
CBaseTrigger:StartTouch
Called when an entity is touching this trigger
CBaseTrigger:EndTouch
Called when an entity has stopped touching this trigger
CBaseTrigger:IsTouching
Checks if the entity is touching the trigger or not.
CBaseEntity:GetClassname
Grabs the classname
CBaseEntity:ClassnameIs
Checks the classname
CBaseEntity:GetAbsOrigin
Grabs the absolute origin
CBaseEntity:SetAbsOrigin
Sets the absolute origin
CBaseEntity:GetAbsVelocity
Grabs the absolute velocity
CBaseEntity:SetAbsVelocity
Sets the absolute velocity
CBaseEntity:GetAbsAngles
Grabs the absolute angles
CBaseEntity:SetAbsAngles
Sets the absolute angles
CBaseEntity:GetModelIndex
Grabs the model index
CBaseEntity:SetModelIndex
Sets the model index
CBaseEntity:GetModelName
Grabs the full path of the current model
CBaseEntity:SetModel
Sets the current model
CBaseEntity:SetSize
Sets the model size
CBaseEntity:GetLastThink
Grabs the last think value
CBaseEntity:GetHealth
Grabs the health
CBaseEntity:SetHealth
Sets the health
CBaseEntity:GetMaxHealth
Grabs the max health
CBaseEntity:SetMaxHealth
Sets the max health
CBaseEntity:GetTeamNumber
Grabs the team number
CBaseEntity:GetWaterLevel
Grabs the water level
CBaseEntity:entindex
Grabs the index of our entity
CBaseEntity:IsPlayer
Checks if we are a player
CBaseEntity:SUB_Remove
Removes the entity
CBaseEntity:SUB_FadeOut
Fades out the entity
CBasePlayer:GetPlayerName
Grabs the name of the player
CBasePlayer:m_afButtonLast
Grabs the last pressed button
CBasePlayer:m_afButtonPressed
Grabs the pressed button
CBasePlayer:m_afButtonReleased
Grabs the released button
CHL2MP_Player:IsInfectionKnown
Checks if the infection is known
CHL2MP_Player:IsPracticallyZombie
Checks if the player knows they are infected
CHL2MP_Player:IsInfected
Checks if the player is infected
CHL2MP_Player:IsMuted
Checks if the player is muted
CHL2MP_Player:IsGagged
Checks if the player can gagged
CHL2MP_Player:HasSpawned
Checks if the player has spawned into the lobby (First time spawn into the lobby)
CHL2MP_Player:HasItem
Checks if the player has an item_deliver in their inventory
CHL2MP_Player:IsCarrier
Checks if the player is a carrier
CHL2MP_Player:WasForcedInfected
Checks if the player was forced into infection
CHL2MP_Player:UnInfectPlayer
Removes the infection from the player
CHL2MP_Player:InfectPlayer
Infects the player
CHL2MP_Player:ForceInfectPlayer
Forcefully infects the player
CHL2MP_Player:GrabSteamID
Returns the player SteamID
CHL2MP_Player:PlayCoughSound
Will play a cough sound
CHL2MP_Player:IsBot
Checks if this is a fake player (BOT) or not
CHL2MP_Player:GetUserID
Grabs the player UserID
CHL2MP_Player:GrabIP
Grabs the player IP
CHL2MP_Player:GrabPing
Grabs the player Ping
CHL2MP_Player:GrabValue
Grabs specific values from the player
CHL2MP_Player:ConsoleCommand
Tells the player to send a specific console command
CHL2MP_Player:SetArmModel
Sets the current arm model
CHL2MP_Player:SetVoice
Set our current voiceset
CHL2MP_Player:ConColor
Sends information to the player's console, can be customized with RGB colors
CHL2MP_Player:Weapon_ShootPosition
Grabs the current shoot position
CHL2MP_Player:EyeVectors
Grabs the current shoot position