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

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

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

The gta.loadTXD function is used to load a custom TXD texture, and replace an existing texture with it.

Parameters

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

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.game