Garry's Mod Logo
add_circle

Features

  • chat.Open
  • chat.Close
  • render.SetLightmapTexture
  • render.PushRenderTarget
  • render.PopRenderTarget
  • GM:EntityEmitSound
  • NEXTBOT:OnRemove
  • timer.TimeLeft
  • render.OverrideAlphaWriteEnable
  • render.OverrideColorWriteEnable
  • render.SetWriteDepthToDestAlpha
  • Added a few requested ACT enums
  • PANEL:OnRemove
  • Removed PANEL:OnDeletion hook
  • Entity:GetMaterials
  • IGModAudioChannel:GetPos
  • IGModAudioChannel:GetVolume
  • IGModAudioChannel:SetTime
  • IGModAudioChannel:Set3DFadeDistance
  • IGModAudioChannel:Get3DFadeDistance
  • IGModAudioChannel:Set3DCone
  • IGModAudioChannel:Get3DCone
  • IGModAudioChannel:GetState
  • IGModAudioChannel:IsLooping
  • IGModAudioChannel:IsOnline
  • IGModAudioChannel:Is3D
  • IGModAudioChannel:GetLength
  • IGModAudioChannel:GetFileName
  • IGModAudioChannel:GetSamplingRate
  • IGModAudioChannel:GetBitsPerSample
  • IGModAudioChannel:GetLevel
  • IGModAudioChannel:FFT
  • IGModAudioChannel:GetPlaybackRate
  • IGModAudioChannel:SetPlaybackRate
  • GMOD_CHANNEL_*
  • sound.GetTable
  • sound.GetProperties
  • GM:StartCommand
  • GM:EntityFireBullets
  • util.GetSurfacePropName
  • system.FlashWindow
  • VMatrix objects can now be printed to the console
  • Added VMatrix support for the following operators: ==, ~=, +, -
  • VMatrix:ToTable
  • VMatrix:Set
  • VMatrix:Identity
  • VMatrix:IsIdentity
  • VMatrix:IsRotationMatrix
  • VMatrix:Invert
  • VMatrix:GetInverse
  • VMatrix:InvertTR
  • VMatrix:GetInverseTR
  • VMatrix:GetForward
  • VMatrix:GetRight
  • VMatrix:GetUp
  • VMatrix:SetForward
  • VMatrix:SetRight
  • VMatrix:SetUp
  • VMatrix:GetField
  • VMatrix:SetField
  • VMatrix:SetScale
  • Player:GetCurrentViewOffset
  • Player:SetCurrentViewOffset
  • Entity:AddFlags
  • Entity:RemoveFlags
  • Entity:IsFlagSet
  • FL_*
  • Player:GetViewPunchAngles
  • Player:SetViewPunchAngles
  • Added util.GetUserGroups
  • Added table.GetKeys(table)
  • Added spawnmenu.ActivateTool()
arrow_circle_up

Improvements

  • HTTP requests now accept a "headers" table
  • game.AddDecal now accepts a string table as its second argument
  • Entity:IsValid no longer returns true on entities which have been removed during the current frame
  • Removed IN_ key checking from lag compensation - Player:LagCompensation should now work in any predicted hook
  • Changed GM:CalcViewModelView, return a position and an angle to override viewmodel position
  • vm_origin and vm_angles fields in table returned from GM:CalcView are now deprecated
  • sound.PlayURL second parameter can now contain the “noblock” flag, which disables streaming in blocks.
  • IGModAudioChannel:Stop
  • IGModAudioChannel:SetPos
  • Improved command blacklisting for Player:ConCommand and game.ConsoleCommand, reducing false positives
  • sound.Add
  • Moved Vector:__unm from Lua to C
  • Moved Angle:__unm from Lua to C
  • Matrix
  • Matrices can now be multiplied by vectors
  • Player:ViewPunchReset
  • All trace functions from the util library now accept an ‘ignoreworld’ boolean parameter in their trace data
  • net.Start now starts an unreliable message if its second argument is true
  • Entity:DispatchTraceAttack
handyman

Fixed

  • Fixed render.SetStencilWriteMask setting the test mask instead of the write mask
  • Fixed CLuaEmitter:Finish not freeing the emitter
  • Fixed util.TableToJSON not encoding floating point values with enough accuracy
  • Player:ScreenFade
  • Fixed GM:GravGunPickupAllowed not preventing the gravity gun from trying to pick up forbidden entities
  • Fixed GM:GravGunPunt not being called clientside when holding an object
  • Fixed CSoundPatch:Stop() not actually stopping the sound when the game is paused
  • Fixed memory leak when calling timer.Create on an already existing timer
  • Fixed surface.GetTextSize ignoring '&'
  • Fixed the gravity gun and crowbar being removed when dropped using Player:DropWeapon
  • Partially fixed functions from the render and surface library not writing alpha when drawing on a render target
  • Entity:GibBreakClient
  • Entity:MapCreationID
  • Fixed NEXTBOT:Use not being called
  • Fixed panels not feeding mousewheel events to their parent if the PANEL:OnMouseWheeled hook is defined
  • Fixed long-term performance issues with Entity:Remove
  • Fixed Entity:EnableMatrix not propagating matrix transform to child bones
  • Fixed an exploit with require
  • Fixed an exploit with Player:ConCommand and game.ConsoleCommand
  • Fixed nan and +/-infinity returning a non null terminated string when converted into a string
  • Fixed Pre/PostDrawOpaqueRenderables receiving incorrect arguments
  • Fixed file functions not working with file names containing certain special characters
  • Fixed VMatrix:SetAngles(ang) not preserving translation and scale
  • Fixed surface.CreateFont disconnecting clients when an invalid table is passed
remove_circle

Removed

  • Removed effects.halo.Add