Garry's Mod Logo
add_circle

Features

  • •
    Added Entity.GetParentWorldTransformMatrix
  • •
    Added Panel:IsWorldClicker
  • •
    Added Player.GetAmmo
  • •
    Added CLuaLocomotion.GetNextBot
  • •
    Added PathFollower.GetGoalTolerance
  • •
    Added PathFollower.GetMinLookAheadDistance
  • •
    Added CNavArea.AddHidingSpot
  • •
    Added list.HasEntry (Community Contribution)
  • •
    Added SF_LUA_RUN_ON_SPAWN global for addons (lua_run entity)
  • •
    Added util.GetModelMeshes( strModel, lod = 0, bodygroupMask = 0 ) (Community Contribution)
  • •
    net.BytesLeft and net.BytesWritten now return 2 values - second being the bit value
  • •
    Added ability to disable the tooltip via argument to SetColor for DColorButton panel (Community Contribution)
  • •
    DynamicLight now as a second parameter to allocate ELights when set to true - Used for Sandbox Light tool
  • •
    CNavArea.GetHidingSpots how has an optional 1st argument - flags
  • •
    Entity.GibBreakClient now has an optional second argument, to override the gib color
  • •
    VectorRand and AngleRand now have optional min and max arguments (Community Contribution)
  • •
    Added GM:OnPhysgunPickup hook, called after PhysgunPickup after a successful pickup has happened, to mimic GravGunPickupAllowed and GravGunOnPickedUp
  • •
    Giving Matrix() another matrix will now copy its values, instead of erroring
arrow_circle_up

Improvements

  • •
    Corrected BASS.DLL error code names (sound.PlayURL/File)
  • •
    prop_vehicle_crane is now considered a vehicle by Lua
  • •
    ENT:HandleAnimEvent now works for "ai" NPCs too
  • •
    Fixed ENT:Use not working for "ai" SENTs
  • •
    surface.CreateFont()'s maximum size is now 255 (from 128)
  • •
    Limited blursize of surface.CreateFont to 0-80 (inclusive) to avoid crashes
  • •
    Enabled BASS_CONFIG_NET_PREBUF_WAIT to improve sound.PlayURL reliability
  • •
    Fixed file searches (file.Find included) ignoring addons sometimes
  • •
    util.JSONToTable now ignores the UTF-8 Byte Order Mark (BOM)
  • •
    The 1st argument of CNavArea.IsBlocked is now optional
  • •
    table.ToString handles colors better (Community Contribution)
  • •
    math.Clamp nano optimization (Community Contribution)
  • •
    RunString will display a better stack trace on error
  • •
    Moved where DTextEntry.AllowInput is called from so it also catches pasted text
  • •
    Blocked running "gamemenucommand quitnoconfirm" from non-menu state
  • •
    Better physenv.AddSurfaceData, util.KeyValuesToTable and util.KeyValuesToTablePreserveOrder errors in console on failure
  • •
    Beam functions in the render library were rewritten to be less insane
  • •
    SendLua/BroadcastLua/lua_run_cl will print its code to console on Lua error to help track down the problem source if the developer ConVar is set to non 0
handyman

Fixed

  • •
    Fixed ai.GetTaskID returning values on wrong scale
  • •
    Changes to Vehicle.CheckExitPoint to make it functional
  • •
    DHorizontalScroller no longer errors when its children are missing the ApplySchemeSettings hook definition
  • •
    Fixed a crash issue when steamworks.FileInfo does not successfully complete
  • •
    Spawnmenu and Contextmenu hook fixes (Community Contribution)
  • •
    Restored SetNWVarProxy to working condition (both clientside and serverside, moved previous SetNWVarProxy stuff to SetNW2VarProxy, etc.)
  • •
    Entity.Remove will no longer crash trying to make crazy physics objects non solid
  • •
    Entity.RemoveAllDecals works on brush entities too now (Community Contribution)