<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.loadTxd</id>
	<title>natives.loadTxd - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.loadTxd"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.loadTxd&amp;action=history"/>
	<updated>2026-04-29T06:15:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=natives.loadTxd&amp;diff=11273&amp;oldid=prev</id>
		<title>ChrisGame20: Created page with &quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.loadTxd |parameters = string txdName |parameter1 = string txdName Name of the TXD (texture dictionary) to load |usage = Loads a texture dictionary (TXD) into memory so its textures can be accessed |notes =  - Must be called before using natives.getTexture or natives.drawSprite with textures from that TXD - This native can only load texture dictionaries that exist inside the **game’s te...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.loadTxd&amp;diff=11273&amp;oldid=prev"/>
		<updated>2025-11-28T00:33:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.loadTxd |parameters = string txdName |parameter1 = string txdName Name of the TXD (texture dictionary) to load |usage = Loads a texture dictionary (TXD) into memory so its textures can be accessed |notes =  - Must be called before using &lt;a href=&quot;/natives.getTexture&quot; title=&quot;natives.getTexture&quot;&gt;natives.getTexture&lt;/a&gt; or &lt;a href=&quot;/natives.drawSprite&quot; title=&quot;natives.drawSprite&quot;&gt;natives.drawSprite&lt;/a&gt; with textures from that TXD - This native can only load texture dictionaries that exist inside the **game’s te...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptItem&lt;br /&gt;
|endpoint = client&lt;br /&gt;
|games = iv&lt;br /&gt;
|type = function&lt;br /&gt;
|name = natives.loadTxd&lt;br /&gt;
|parameters = string txdName&lt;br /&gt;
|parameter1 = string txdName Name of the TXD (texture dictionary) to load&lt;br /&gt;
|usage = Loads a texture dictionary (TXD) into memory so its textures can be accessed&lt;br /&gt;
|notes = &lt;br /&gt;
- Must be called before using [[natives.getTexture]] or [[natives.drawSprite]] with textures from that TXD&lt;br /&gt;
- This native can only load texture dictionaries that exist inside the **game’s texture folder**; it does not load external or custom files&lt;br /&gt;
|return1 = int Handle ID of the loaded TXD&lt;br /&gt;
|returnFail1 = null If the TXD cannot be loaded&lt;br /&gt;
|exampleJS = bindEventHandler(&amp;quot;OnResourceReady&amp;quot;, thisResource, function() {&lt;br /&gt;
    const txdId = natives.loadTxd(&amp;quot;frontend_360&amp;quot;);&lt;br /&gt;
    if (txdId) {&lt;br /&gt;
        console.log(&amp;quot;TXD frontend_360 loaded with ID &amp;quot; + txdId);&lt;br /&gt;
    }&lt;br /&gt;
});&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>ChrisGame20</name></author>
	</entry>
</feed>