gta.loadTXD: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ScriptItem | {{ScriptItem | ||
|games = iii, vc | |||
|endpoint = client | |endpoint = client | ||
|type = function | |type = function | ||
|name = gta.loadTXD | |name = gta.loadTXD | ||
|parameters = string txdName, stream data | |parameters = string txdName, stream data | ||
|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. | ||
|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 | ||
}} | }} | ||
Latest revision as of 09:25, 8 January 2025
gta.loadTXD
Signature: void gta.loadTXD(string txdName, stream data)
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