Garry's Mod Logo
add_circle

Features

  • player.GetCount()
  • ents.GetCount()
  • Added a second parameter for Player.Give - boolean, set to true to not give any ammo ( at all ) when the weapon is given
  • Scrollbar - Allowed to have no up/down buttons
  • Override spawnlist NPC health option
  • Added FireBulletsInfo.IgnoreEntity
  • 3000-range anim events from SWEPs are now passed to SWEP:FireAnimationEvent
  • game.GetGlobalState
  • game.GetGlobalCounter
  • game.SetGlobalState
  • game.SetGlobalCounter
  • Weapon.SetLastShootTime
  • render.OverrideBlendFunc
  • BLEND_*
  • GLOBAL_*
  • Added EF_FOLLOWBONE enumeration to Lua
  • Added a 4th argument to util.Decal - ignore entity
  • Added 2 more types to GM:ChatText - servermsg and teamchange
  • Added DFrame.GetTitle()
  • Add headers argument to http library functions
arrow_circle_up

Improvements

  • Made SWEP.PrintName shared
  • game.AddAmmoType now overrides duplicate names
  • math.IntToBin micro optimisation
  • Prevented Player:CanUseFlashlight() from returning nil
  • Improved Entity:GetKeyValues to show actual values of keys and to show ALL keys
  • Angle() can now also accept only 1 argument, to match the Vector()
  • Optimized draw.RoundedBox(Ex) a bit
  • Optimized DNumberScratch
  • Minor optimisation of GM:MouthMoveAnimation default action
  • timer.Exists will now return false for timers with deleteme flag
  • Player.SetEyeAngles will now only work on local players when used clientside
  • Entity.GetKeyValues will convert boolean values to integers instead, for compatibility with SetKeyValue
  • Entity.IsRagdoll no longer throws Lua errors when used on invalid/NULL entities, returns false instead
  • Entity.IsRagdoll nows return false where it used to return no value
  • Moved Material() extension to shared
  • If Steam says the a game is not installed - it is not installed. ( Mountable games list )
  • Entity.PrintMessage clientside will appear as type "none" in GM:ChatText
  • Increased maximum panel size, position and clipping data sizes to fix a problem with spawnmenu addon list breaking when trying to show too many addons
  • <gamemode>.txt convars now have LUA_SERVER flag and can be hooked onto with cvars.AddCallback
  • Panel.OpenURL now also works with "about:blank"
  • Clamped possible values of render.SetLightingMode to 0-2 to avoid crashes
  • render.Capture now has an "alpha" option ( default true ) that allows to disable alpha on the captured image
  • Player.ScreenFade is now shared
  • GM:RenderScreenspaceEffects will no longer be called with ViewData.dopostprocess set to false
handyman

Fixed

  • Fixed a little issue with DCheckbox convar support
  • DNumSlider.IsHovered now works properly
  • Fixed widget_base producing Lua errors
  • Fixed changing Lua variables of SWEPs in hooks such as GM:WeaponEquip not being applied to engine functions instantly
  • Fixed first HUD_PRINTCENTER message being wrong color
  • Fixed a crash issue with Panel.GetChild
  • Fixed Entity.GetPoseParameterName crashing the game with invalid values
  • Fixed an issue with string.GetFileFromFilename
  • Fixed Weapon.LastShootTime being always 0 serverside
  • Player.SetMuted()'s first argument now actually works
  • DComboBox.Clear now resets the selected item