Garry's Mod Logo
add_circle

Features

  • Added input.WasMouseReleased( key )
  • Added surface.GetAlphaMultiplier()
  • Added surface.GetDrawColor()
  • Added surface.GetTextColor()
  • Added Entity.IsMarkedForDeletion()
  • Added hook GM:PlayerClassChanged
  • Added hook PANEL.OnSizeChanged( newW, newH )
  • Added hook NextBot.FireAnimationEvent clientside hook
  • Added hook NextBot:HandleAnimEvent
  • Added 4th argument to DComboBox.AddChoice - icon (Community Contribution)
arrow_circle_up

Improvements

  • Added names to the "A net message is already started" message to help pinpoint the message source
  • PANEL.OnScreenSizeChanged now has 2 arguments - the old width and height
  • ModelImage.SetSpawnIcon will no longer display an error image when given non-existent .png, now displays the usual broken image material
  • Wordclicker view model animations now use proper variables for 2nd and 3rd viewmodels, instead of using the variable for the 1st view model
  • Entity.EnableConstraints( false ) now deletes the constraints (experimental)
  • DModelPanel now properly works when being dragged by the drag'n'drop system
  • Deletion of orphaned entities no longer deletes world or players
  • You can no longer call Entity.SetParent on world
  • PNG and JPG textures are now loaded without automatic conversion to Power of 2 sizes
  • Panel.IsEnabled now visibly affects DMenuOption
  • Invisible children of DHorizontalScroller will no longer affect position of the visible panels
  • Entity.Fire and Entity.Input also support booleans just like GM:AcceptInput
  • Player classes are set on all clients automatically clientside
  • Player classes are initialized as soon as they are set on a player, instead of whenever a first hook call happens
  • Display a message when an scripted entity was refused to be loaded due to missing Base and Type keys
  • Display a console warning when scripted_ents library was overridden and is no longer a table instead of silently doing nothing
  • More friendly errors when the weapons library is overridden with a non table
handyman

Fixed

  • Fixed Player.Say appending a trailing space
  • Fixed ViewModelFlip stopping worldclicker aiming animation for view models
  • Fixed SpawnIcon's SetSize affecting the child element's size too late
  • Fixed a crash issue with ModelImage.SetSpawnIcon
  • Fixed EmitSentence() not working on clients
  • DLabel and its derivatives can be properly dropped with drag'n'drop when they are not initially pressed
  • Invalid panels for tooltips will no longer create errors
  • Fixed table.GetWinningKey with keys lower than -10000 (Community Contribution)
  • Fixes for toolgun Think not running in edge cases (Community Contribution)
  • Fixed gmod_(admin_)cleanup not updating Player.GetCount on clients properly
  • Fixed Entity.GetTable being recreated when one already exists upon loading the entity table from .lua file
  • Fixed engine.ActiveGamemode() not returning current gamemode correctly in clientside autorun scripts
  • Fixed Panel.GetTextSize() only working after the text has been rendered at least once