Garry's Mod Wiki

Garry's Mod Wiki

  boolean ITexture:IsError()

Description

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

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

Returns

1 boolean
Whether the texture was loaded successfully or not.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...