Garry's Mod Wiki

util.IsModelLoaded

  boolean util.IsModelLoaded( string modelName )

Description

Checks if the model is loaded in the game.

Arguments

1 string modelName
Name/Path of the model to check.

Returns

1 boolean
Returns true if the model is loaded in the game; otherwise false.