Return to Main Docs Page

UTIL

Please make sure, that not all functions was tested to be working.

Functions

Server-Side

util.AxisStringToPointDir()
util.AxisStringToPointPoint()
util.AxisStringToUnitDir()
util.Beam()
util.BloodDecalTrace()
util.BloodDrips()
util.BloodImpact()
util.BloodSpray()
util.BloodStream()
util.BubbleTrail()
util.Bubbles()
util.CanCreateEntityClass()
util.ClearTrace()
util.ClientPVSIsExpanded()
util.ClientPrint()
util.ClientPrintAll()
util.ClipPunchAngleOffset()
util.DecalTrace()
util.DisableRemoveImmediate()
util.DropToFloor()
util.ENTINDEX()
util.Effect()
util.EmitAmbientSound()
util.EnableRemoveImmediate()
util.EntitiesInBox()
util.EntitiesInSphere()
util.EntityByIndex()
util.EntityHasMatchingRootParent()
util.EntityInSolid()
util.FNullEnt()
util.FStrEq()
util.FindClientInPVS()
util.FindWaterSurface()
util.GetCommandClient()
util.GetCommandClientIndex()
util.GetListenServerHost()
util.GetLocalPlayer()
util.GetPlayerConnectionInfo()
util.GetSimulationInterval()
util.INDEXENT()
util.ImpactTrace()
util.IsCommandIssuedByServerAdmin()
util.IsLowViolence()
util.IsSpaceEmpty()
util.IsValidEntity()
util.MuzzleFlash()
util.ParticleTracer()
util.PlayerByIndex()
util.PlayerByName()
util.PlayerByUserId()
util.PlayerDecalTrace()
util.PointAtEntity()
util.PointContents()
util.PointOnLineNearestPoint()
util.PrecacheDecal()
util.PrecacheOther()
util.PredictedPosition()
util.RandomBloodVector()
util.Remove()
util.RemoveImmediate()
util.SayText()
util.SayTextAll()
util.ScreenShake()
util.ScreenShakeObject()
util.SetOrigin()
util.SetSize()
util.SharedRandomAngle()
util.SharedRandomFloat()
util.SharedRandomInt()
util.SharedRandomVector()
util.ShouldShowBlood()
util.ShowMessage()
util.ShowMessageAll()
util.Smoke()
util.SnapDirectionToAxis()
util.TeamsMatch()
util.TraceEntity()
util.TraceHull()
util.TraceLine()
util.TraceModel()
util.Tracer()
util.TransferPoseParameters()
util.ValidateSoundName()
util.VecToPitch()
util.VecToYaw()
util.ViewPunch()
util.WaterLevel()
util.YawToVector()
               

Client-Side

UTIL.AngleDiff()
UTIL.BloodDecalTrace()
UTIL.BloodDrips()
UTIL.BloodImpact()
UTIL.BoundToWorldSize()
UTIL.Bubbles()
UTIL.ClientPrint()
UTIL.ComputeStringWidth()
UTIL.DecalTrace()
UTIL.Effect()
UTIL.EntitiesInBox()
UTIL.EntitiesInSphere()
UTIL.EntityHasMatchingRootParent()
UTIL.GetLocalPlayerIndex()
UTIL.GetSpectatorMode()
UTIL.GetSpectatorTarget()
UTIL.ImpactTrace()
UTIL.InterpolateAngles()
UTIL.IsLocalPlayerSpectator()
UTIL.IsLowViolence()
UTIL.IsPlayerIndex()
UTIL.IsSpaceEmpty()
UTIL.NormalizeAngles()
UTIL.ParticleTracer()
UTIL.PlayerByIndex()
UTIL.PointContents()
UTIL.PrecacheOther()
UTIL.SafeName()
UTIL.ScreenHeight()
UTIL.ScreenShake()
UTIL.ScreenWidth()
UTIL.SetOrigin()
UTIL.SharedRandomAngle()
UTIL.SharedRandomFloat()
UTIL.SharedRandomInt()
UTIL.SharedRandomVector()
UTIL.ShouldShowBlood()
UTIL.Smoke()
UTIL.TraceEntity()
UTIL.TraceHull()
UTIL.TraceLine()
UTIL.TraceModel()
UTIL.Tracer()
UTIL.VecToPitch()
UTIL.VecToYaw()
UTIL.YawToVector()
               
Thank you for reading this article, see ya later!

JOIN HL2GMED DISCORD SERVER!