Garry's Mod Logo
add_circle

Features

  • Entity:PhysicsInitStatic( ... )
  • Entity:RemoveCallback( ... )
  • Entity:GetCallbacks( ... )
  • CLuaEmitter:IsValid( ... )
arrow_circle_up

Improvements

  • Entity:PhysicsInit* methods now return either true or false based on success
  • Entity:Remove() can no longer remove the world
  • Weapon:IsScripted() will now return false instead of no value when ran on non-scripted weapons
  • Player:Give( ... ) no longer fills a player's gun with ammo when asked to not give ammo to players
  • Entity:GetBoneCount() and Entity:GetBoneParent( ... ) will now return -1 on failure
  • Entity:TranslateBoneToPhysBone( ... ) will now return -1 on failure
  • Entity:SetSaveValue( ... ) now returns false on failure
  • Entity:DispatchTraceAttack( ... ) will now trigger an error when passed invalid parameters
  • Entity:HasBoneManipulations() and Entity:HasFlexManipulatior() return false on failure
  • Entity:GetBrushPlaneCount() will now return false on failure
  • Entity:GetFlexScale( ... ) now always returns 1 on failure, rather than just sometimes
handyman

Fixed

  • Entity:GetBrushPlaneCount() and Entity:GetBrushPlane( ... ) now work on brush entities
  • PathFollower:Compute() no longer leaks Lua references