gta.loadTXD: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 6: Line 6:
|parameter1 = string txdName The name of the TXD.
|parameter1 = string txdName The name of the TXD.
|parameter2 = stream data The stream containing the texture data.
|parameter2 = stream data The stream containing the texture data.
|parameter3 = int slot The slot for the texture in the TXD.
|usage = load a custom TXD texture, and replace an existing texture with it.
|usage = load a custom TXD texture, and replace an existing texture with it.
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Revision as of 07:11, 30 December 2020

gta.loadTXD

Signature: void gta.loadTXD(string txdName, stream data, int slot)

Usage: load a custom TXD texture, and replace an existing texture with it.

Parameters

string txdName The name of the TXD.
stream data The stream containing the texture data.

Return

void

On failure: void