Garry's Mod Wiki

util.IsValidProp

  boolean util.IsValidProp( string modelName )

Description

Checks if the specified prop is valid.

Arguments

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

Returns

1 boolean
Returns true if the specified prop is valid; otherwise false.