{"id":162253,"date":"2024-10-11T18:45:05","date_gmt":"2024-10-11T16:45:05","guid":{"rendered":"https:\/\/hifivem.com\/?p=162253"},"modified":"2026-06-22T20:39:21","modified_gmt":"2026-06-22T18:39:21","slug":"como-transmitir-roupas-addon-aderecos-modelos-fivem","status":"publish","type":"post","link":"https:\/\/fivemx.com\/pt\/how-to-stream-addon-clothes-props-fivem-models\/","title":{"rendered":"Como transmitir roupas\/adere\u00e7os adicionais (modelos FiveM)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Adding custom clothes and props as addons for MP Freemode models in FiveM allows you to offer more personalized and unique content to your server\u2019s players. This guide will show you step-by-step how to stream clothes and props using YMTEditor and OpenIV, helping you integrate custom models seamlessly into the game.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Important notice: You&#8217;ll need to add a Patreon key to your server.cfg &#8211; Here&#8217;s how this works:<br>How To Add a Patreon Key to your <a href=\"https:\/\/fivemx.com\/how-to-create-a-fivem-server\/\" id=\"92\">FiveM server<\/a><\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#1-understanding-important-terms\">Important Terms<\/a><\/li><li><a href=\"#2-prerequisites\">Prerequisites<\/a><\/li><li><a href=\"#3-preparing-your-files\">Preparing Your Files<\/a><ul><li><a href=\"#4-configuring-ymt-editor\">Configuring YMTEditor<\/a><\/li><li><a href=\"#5-creating-meta-files\">Creating Meta Files<\/a><\/li><li><a href=\"#6-setting-up-fx-manifest\">Setting Up FXManifest<\/a><\/li><\/ul><\/li><li><a href=\"#7-testing-and-troubleshooting\">Testing and Troubleshooting<\/a><\/li><li><a href=\"#f\">FAQ<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-understanding-important-terms\">Important Terms<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To follow this tutorial successfully, it\u2019s important to understand some core concepts used in FiveM modding:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Component<\/strong>: Refers to different character body parts or clothing slots, such as <code>head<\/code>, <code>torso<\/code>, or <code>legs<\/code>. There are 12 different components, each with a specific slot for customizations (e.g., <code>uppr<\/code> for torso, <code>lowr<\/code> for legs).<\/li>\n\n\n\n<li><strong>Prop<\/strong>: Accessories that can be worn by the character, like hats or glasses. There are 13 prop slots, but only 5 are used for MP models (<code>p_head<\/code>, <code>p_eyes<\/code>, <code>p_ears<\/code>, <code>p_lwrist<\/code>, <code>p_rwrist<\/code>).<\/li>\n\n\n\n<li><strong>Drawable<\/strong>: A <code>.ydd<\/code> file representing a model. Each component or prop can have multiple drawables (e.g., <code>jbib_000_u<\/code> and <code>jbib_001_u<\/code> for two different torso variants).<\/li>\n\n\n\n<li><strong>Texture<\/strong>: A <code>.ytd<\/code> file applied to a drawable model. Textures must be named properly to be recognized by the game, such as <code>xxxx_diff_###_a_uni<\/code>.<\/li>\n\n\n\n<li><strong>YMT File<\/strong>: Defines how many components, drawables, and textures the game uses for character customization.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-prerequisites\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before starting, ensure you have the following tools and resources:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>YMTEditor<\/strong>: Used for editing <code>.ymt<\/code> files. <a href=\"https:\/\/github.com\/grzybeek\/YMTEditor\/releases\" target=\"_blank\" rel=\"noopener\">Download YMTEditor<\/a>.<\/li>\n\n\n\n<li><strong>OpenIV<\/strong>: Essential for working with <code>.ydd<\/code> and <code>.ytd<\/code> files. <a href=\"https:\/\/openiv.com\" target=\"_blank\" rel=\"noopener\">Download OpenIV<\/a>.<\/li>\n\n\n\n<li><strong>Clothing and Prop Models<\/strong>: Obtain the clothing or prop mods you want to add. You can find mods on <a href=\"https:\/\/www.gta5-mods.com\/\" target=\"_blank\" rel=\"noopener\">GTA5-Mods<\/a>.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-preparing-your-files\">Preparing Your Files<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"892\" height=\"480\" src=\"https:\/\/fivemx.com\/wp-content\/uploads\/2024\/08\/fivem-clothing-packs.webp\" alt=\"FiveM Clothing Packs\" class=\"wp-image-151074\" style=\"width:500px\" srcset=\"https:\/\/fivemx.com\/wp-content\/uploads\/2024\/08\/fivem-clothing-packs.webp 892w, https:\/\/fivemx.com\/wp-content\/uploads\/2024\/08\/fivem-clothing-packs-300x161.webp 300w, https:\/\/fivemx.com\/wp-content\/uploads\/2024\/08\/fivem-clothing-packs-768x413.webp 768w, https:\/\/fivemx.com\/wp-content\/uploads\/2024\/08\/fivem-clothing-packs-18x10.webp 18w, https:\/\/fivemx.com\/wp-content\/uploads\/2024\/08\/fivem-clothing-packs-110x59.webp 110w, https:\/\/fivemx.com\/wp-content\/uploads\/2024\/08\/fivem-clothing-packs-60x32.webp 60w, https:\/\/fivemx.com\/wp-content\/uploads\/2024\/08\/fivem-clothing-packs-800x430.webp 800w\" sizes=\"(max-width: 892px) 100vw, 892px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Download the Clothing or Prop Mods<\/strong>: Gather the <code>.ydd<\/code> and <code>.ytd<\/code> files for your clothing and props. Make sure these files are intended for MP Freemode models. If they are single-player models, some conversion may be required.<\/li>\n\n\n\n<li><strong>Organize the Files<\/strong>: Place all downloaded files into a folder. If the files contain prefixes like <code>mp_m_freemode_01<\/code>, remove these to keep the file names simple (e.g., change <code>mp_m_freemode_01_jbib_003<\/code> to <code>jbib_000<\/code>).<\/li>\n\n\n\n<li><strong>Rename the Files<\/strong>: Standardize the numbering to start at <code>000<\/code> and increment from there (e.g., <code>jbib_000<\/code>, <code>jbib_001<\/code>). This helps avoid conflicts and keeps things organized.<\/li>\n\n\n\n<li><strong>Add a Custom Prefix<\/strong>: It&#8217;s good practice to add a prefix to your files that matches the name of your project. For example, if your YMT file is named <code>mp_f_freemode_01_customclothes<\/code>, then your files should be renamed accordingly (e.g., <code>mp_f_freemode_01_customclothes_jbib_000<\/code>).<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-configuring-ymt-editor\">Configuring YMTEditor<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Create a New YMT File<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Open YMTEditor and select <strong>New<\/strong>.<\/li>\n\n\n\n<li>Choose the MP character you are modding for (e.g., female).<\/li>\n\n\n\n<li>Name your YMT file (e.g., <code>mp_f_freemode_01_customclothes<\/code>). Ensure the name is all lowercase.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Enable the Components You Will Use<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Expand the list of components in YMTEditor and enable the relevant ones (e.g., <code>jbib<\/code> for torso, <code>lowr<\/code> for pants).<\/li>\n\n\n\n<li>For each component, add new entries for the models and textures you are adding.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add Textures for Each Drawable<\/strong>:\n<ul class=\"wp-block-list\">\n<li>For example, if you\u2019re adding pants (<code>lowr<\/code>), you may start with drawable <code>000<\/code> and add textures up to <code>y<\/code> (25 textures in total).<\/li>\n\n\n\n<li>Configure the drawables with the appropriate suffix <code>_u<\/code> for universal or <code>_r<\/code> for race-specific.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Set Prop Mask Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li>If the model has exposed skin, you need to change the prop mask value to 17, 19, or 21 in YMTEditor. This ensures the game recognizes the skin data.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Save the YMT File<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Save your changes by selecting <strong>File &gt; Save (YMT)<\/strong>. Make sure the file name remains consistent.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-creating-meta-files\">Creating Meta Files<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create a <code>.meta<\/code> file to define how your addon clothes and props integrate into the game.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Create the Meta File<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Use a text editor to create a new file named <code>mp_f_freemode_01_customclothes.meta<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add the Following XML Structure<\/strong>:<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;ShopPedApparel&gt;\n    &lt;pedName&gt;mp_f_freemode_01&lt;\/pedName&gt;\n    &lt;dlcName&gt;customclothes&lt;\/dlcName&gt;\n    &lt;fullDlcName&gt;mp_f_freemode_01_customclothes&lt;\/fullDlcName&gt;\n    &lt;eCharacter&gt;SCR_CHAR_MULTIPLAYER_F&lt;\/eCharacter&gt;\n    &lt;creatureMetaData&gt;MP_CreatureMetadata_customclothes&lt;\/creatureMetaData&gt;\n    &lt;pedOutfits&gt;&lt;\/pedOutfits&gt;\n    &lt;pedComponents&gt;&lt;\/pedComponents&gt;\n    &lt;pedProps&gt;&lt;\/pedProps&gt;\n&lt;\/ShopPedApparel&gt;\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-setting-up-fx-manifest\">Setting Up FXManifest<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Create the FXManifest File<\/strong>:\n<ul class=\"wp-block-list\">\n<li>In the folder containing your YMT and <code>.meta<\/code> files, create a new file named <code>fxmanifest.lua<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add the Following Content<\/strong>:<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"lua\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">fx_version 'cerulean'\ngame 'gta5'\n\nfiles {\n    'mp_f_freemode_01_customclothes.meta'\n}\n\ndata_file 'SHOP_PED_APPAREL_META_FILE' 'mp_f_freemode_01_customclothes.meta'\n<\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Make sure the file paths and names match those used in your project.<\/li>\n\n\n\n<li><strong>Add Your Resource to <code>server.cfg<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li>Open your server&#8217;s <code>server.cfg<\/code> file.<\/li>\n\n\n\n<li>Add the line <code>start customclothes<\/code> (or use the name of your project folder).<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/fivemx.com\/setting-up-fxmanifest-lua-fivem\/\">Full Tutorial: FXManifest<\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"7-testing-and-troubleshooting\">Testing and Troubleshooting<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Load Your Server<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Start the server and <a href=\"https:\/\/fivemx.com\/fivem-connection-failed-diagnostic-and-resolution-guide\/\" data-wpil-monitor-id=\"1343\">connect in FiveM<\/a>.<\/li>\n\n\n\n<li>Use a character editor (such as vMenu) to navigate to the new clothing components.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Check for Issues<\/strong>:\n<ul class=\"wp-block-list\">\n<li>If clothes don\u2019t appear, ensure all file names are consistent.<\/li>\n\n\n\n<li>Check that the YMT file correctly references all drawables and textures.<\/li>\n\n\n\n<li>Verify the FXManifest and <code>.meta<\/code> files for any typos or missing entries.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Common Issues<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Clothes Not Showing<\/strong>: Ensure the YMT file is saved correctly and that the FXManifest includes all necessary files.<\/li>\n\n\n\n<li><strong>Textures Not Loading<\/strong>: Double-check the naming convention of the textures and ensure they match the drawable file names.<\/li>\n\n\n\n<li><strong>Skin Color Issues<\/strong>: If the model includes skin, make sure you\u2019ve set the prop mask value to 17, 19, or 21.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"f\">FAQ<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Which files are needed for clothes\/props?<br>A: Clothes use .ydd\/.ytd; props use .ydr\/.ytd. Place them in stream\/.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Do I need to edit ped.ymt?<br>A: Prefer frameworks like mpclothes for freemode slots. Editing ped.ymt directly is fragile.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: How should the resource be structured?<br>A: \/resources\/[stream]\/your_clothes\/stream\/* with an fxmanifest.lua. Add files entries if required by type.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Works on QBCore and ESX?<br>A: Streaming is the same; usage depends on your wardrobe\/clothing script per framework.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Why are textures black or invisible?<br>A: Wrong materials\/UVs, missing mipmaps, or oversized textures. Export as DDS (BC3\/BC7) with mipmaps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Props not showing\u2014what causes it?<br>A: Incorrect LODs, missing collisions, or wrong model names\/paths. Check console errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: How do I update safely on live servers?<br>A: Load into a [test] folder, check with few players, then move to [stream] and restart during off-peak.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Naming best practices?<br>A: Lowercase resource names, no spaces, avoid versioned folders, keep a changelog and thumbnails.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\">By following these steps, you should be able to successfully stream custom clothes and props as addons for MP Freemode models in FiveM. This will give your server a unique touch and allow players to customize their characters with a wider range of options.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Feel free to reach out for further help or share your custom content with the <a href=\"https:\/\/fivemx.com\/how-to-find-fivem-communities\/\" id=\"434\">FiveM community<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding custom clothes and props as addons for MP Freemode models in FiveM allows you to offer more personalized and unique content to your server\u2019s players. This guide will show you step-by-step how to stream clothes and props using YMTEditor and OpenIV, helping you integrate custom models seamlessly into the game. Important notice: You&#8217;ll need [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":162258,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1899],"tags":[],"class_list":["post-162253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/posts\/162253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/comments?post=162253"}],"version-history":[{"count":1,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/posts\/162253\/revisions"}],"predecessor-version":[{"id":206990,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/posts\/162253\/revisions\/206990"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media\/162258"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media?parent=162253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/categories?post=162253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/tags?post=162253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}