ITexture/IsError

From Garry's Mod
Revision as of 15:40, 18 September 2019 by Robotboy655 (Talk | contribs)
Jump to: navigation, search
 ITexture:IsError( )

Description

Returns whenever the texture is valid. (i.e. was loaded successfully or not)

NOTE

The "error" texture is a valid texture, and therefore this function will return false when used on it.

Returns

boolean

Whether the texture was loaded successfully or not.
Personal tools
Navigation