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
Function
Client Only
Online and Offline
Available since Client 1.0.0
void gta.loadTXD(string txdName, stream data)
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
gta.game