From Garry's Mod
Revision as of 21:39, 21 February 2019 by Gasp (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 UTIL_IsUselessModel( )


This feature is deprecated.
You should avoid using it as it may be removed in a future version.

You should use IsUselessModel instead.

Returns whether or not a model is useless by checking that the file path is that of a proper model.

If the string ".mdl" is not found in the model name, the function will return true.

The function will also return true if any of the following strings are found in the given model name:

  • "_gesture"
  • "_anim"
  • "_gst"
  • "_pst"
  • "_shd"
  • "_ss"
  • "_posture"
  • "_anm"
  • "ghostanim"
  • "_paths"
  • "_shared"
  • "anim_"
  • "gestures_"
  • "shared_ragdoll_"


string modelName

The model name to be checked



Whether or not the model is useless
Personal tools