Garry's Mod Logo
add_circle

Features

  • Added MatSelect:OnSelect and MatSelect:OnRightClick
  • Added new function to util.Timer object - TIMER:GetElaspedTime (Community Contribution)
  • Added properties.Remove (Community Contribution)
  • Implemented ENTITY:GetPreferredCarryAngles for ai type SENTs
  • Added NPC:SetIdealSequence
  • Added 5th argument to constraint.Nocollide - disableOnRemove
  • Added surface.GetPanelPaintState
  • Added massCenterOveride for certain physics initialize functions - Entity:PhysicsInit. Entity:PhysicsInitMultiConvex, Entity:PhysicsInitConvex, Entity:PhysicsFromMesh, Entity:PhysicsInitBox
  • Added ProjectedTexture:SetNoCull and ProjectedTexture:GetNoCull
  • Added NAV_MESH_BLOCKED_LUA
  • Added PropSelect:OnSelect hook
  • Added PropSelect:OnRightClick hook
  • Added PropSelect:FindModelByValue
  • Added PropSelect:SelectModel
arrow_circle_up

Improvements

  • DNumSlider: Setting min or max value updates slider pos
  • Optimized SortedPairs further (Community Contribution)
  • Player:StripWeapons drops weapons before removing them - This mimics behavior of Player:StripWeapon
  • Fallback to garrysmod.ver for when Steam is not available to set BRANCH (SRCDS)
  • Made gui.HideGameUI work more like GM:OnPauseMenuShow
  • Merge some math library optimizations (Community Contribution)
  • Consistent return values from Sandbox tool Make* global functions
  • Reduced net.WritePlayer bit count based on server's maxplayers (Community Contribution)
  • Micro optimization for GWEN.CreateTextureBorder and related functions (Community Contribution)
  • Implemented Panel:Clear for PropSelect
handyman

Fixed

  • Fixed IMaterial:SetVector4D not using float inputs
  • Fixed DropEntityIfHeld affecting all players holding anything
  • Fixed MatSelect and PropSelect erroring on select if not given a convar
  • Fixed Entity:ManipulateBoneJiggle type 2 non functioning
  • Corrected UTF8<->UTF16 conversion for the close caption function & hook
  • Call GM:PlayerAuthed outside of player prediction so CurTime has a valid value
  • Fixed Player:UniqueID returning nothing before GM:PlayerInitialSpawn
  • Fixed huge network load of ManipulateBone* functions
  • Fixed CNewParticleEffect.AddControlPoint attachment default value - No longer produces console warnings when not given an attachment name
  • Fixed a crash with Panel:AppendText
remove_circle

Removed

  • Added killserver, cancelselect to concommand blacklist
  • Block gui.SetMousePos/input.SetCursorPos while main menu is open
  • Disallow Panel:SetHTML on panels with non empty hostname (i.e. SetHTML can only be called on empty HTML panels, or on panels that previously had its content set via SetHTML)
  • Disallow Panel:RunJavascript on panels with local IP addresses