{"id":148592,"date":"2024-07-25T16:21:41","date_gmt":"2024-07-25T14:21:41","guid":{"rendered":"https:\/\/hifivem.com\/?p=148592"},"modified":"2025-06-12T15:07:02","modified_gmt":"2025-06-12T13:07:02","slug":"como-instalar-mapas-e-veiculos-no-fivem","status":"publish","type":"post","link":"https:\/\/fivemx.com\/pt\/how-to-install-maps-and-vehicles-on-fivem\/","title":{"rendered":"Como instalar mapas e ve\u00edculos personalizados no FiveM"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Adding custom maps and vehicles to your FiveM server can take your gameplay experience to a whole new level. From detailed city landscapes to sleek, custom vehicles, these mods enhance the immersive world of FiveM. This detailed guide will walk you through the process of installing these modifications and address common issues you might encounter along the way.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before you begin the installation process, ensure you have the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a data-wpil=\"url\" href=\"https:\/\/fivemx.com\/how-to-create-a-fivem-server\/\" data-type=\"link\" data-id=\"https:\/\/fivemx.com\/how-to-create-a-fivem-server\/\">A running <strong>FiveM server<\/strong>.<\/a><\/li>\n\n\n\n<li>The latest version of <strong><a href=\"https:\/\/runtime.fivem.net\/artifacts\/fivem\/build_server_windows\/master\/\" data-type=\"link\" data-id=\"https:\/\/runtime.fivem.net\/artifacts\/fivem\/build_server_windows\/master\/\" target=\"_blank\" rel=\"noopener\">FXServer<\/a><\/strong>.<\/li>\n\n\n\n<li>An <strong>FTP client<\/strong> such as <a href=\"https:\/\/filezilla-project.org\/\" data-type=\"link\" data-id=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\">FileZilla <\/a>to upload files to your server.<\/li>\n\n\n\n<li><strong>Custom Maps and Vehicles<\/strong> downloaded from reputable sources like HiFiveM or <a href=\"https:\/\/www.gta5-mods.com\/\" data-type=\"link\" data-id=\"https:\/\/www.gta5-mods.com\/\" target=\"_blank\" rel=\"noopener\">GTA5-mods.com<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Custom Maps<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Download the Map Files<\/strong>\n<ul class=\"wp-block-list\">\n<li>Get the map files in <code>.ymap<\/code> or <code>.xml<\/code> format. Usually, these files come compressed (e.g., ZIP or RAR).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Extract the Files<\/strong>\n<ul class=\"wp-block-list\">\n<li>Extract the downloaded files to a folder on your computer.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Prepare the Resource Folder<\/strong>\n<ul class=\"wp-block-list\">\n<li>Navigate to your FiveM server directory and open the <code>resources<\/code> folder. Create a new folder specifically for your map, for example, <code>custommap<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Upload the Map Files<\/strong>\n<ul class=\"wp-block-list\">\n<li>Copy the extracted files (.ymap, .meta, or .xml) into the <code>custommap<\/code> folder. Ensure that all necessary files are present.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Create a Resource Manifest<\/strong>\n<ul class=\"wp-block-list\">\n<li>In the <code>custommap<\/code> folder, create and open a file named <code>fxmanifest.lua<\/code>.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Start the Resource<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the server configuration file (<code>server.cfg<\/code>) located in the root directory of your FXServer. Add the following line: <code>start custommap<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Then, <strong>Restart the Server<\/strong>: Restart your <a href=\"https:\/\/fivemx.com\/how-to-create-a-fivem-server\/\" id=\"82\">FiveM server<\/a>. The custom map should now be available in the game.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Custom Vehicles<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Download the Vehicle Mod Files<\/strong>\n<ul class=\"wp-block-list\">\n<li>Download vehicle files in formats like <code>.ytd<\/code>, <code>.ytf<\/code>, <code>.meta<\/code>, and <code>.xml<\/code> from reputable modding sites.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Extract the Vehicle Files<\/strong>\n<ul class=\"wp-block-list\">\n<li>Extract the files to a folder on your computer.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Prepare the Vehicle Folder<\/strong>\n<ul class=\"wp-block-list\">\n<li>Navigate to the <code>resources<\/code> folder in your FiveM server directory. Create a new folder named <code>customvehicles<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Upload the Vehicle Files<\/strong>\n<ul class=\"wp-block-list\">\n<li>Copy the extracted vehicle files into the <code>customvehicles<\/code> folder. Ensure all necessary files (.ytd, .ytf, <code>.meta<\/code>) are uploaded.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Create a Resource Manifest<\/strong>\n<ul class=\"wp-block-list\">\n<li>In the <code>customvehicles<\/code> folder, create and open a file named <code>fxmanifest.lua<\/code>!<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Add Commands to Server Config<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the server configuration file (<code>server.cfg<\/code>). Add the following line to start the vehicle resource: <code>start customvehicles<\/code><\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Spawn the Vehicle<\/strong>\n<ul class=\"wp-block-list\">\n<li>Use the console command to spawn the vehicle in-game. The command is usually <code>\/spawn [vehicle_name]<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Restart the Server<\/strong>\n<ul class=\"wp-block-list\">\n<li>Restart your FiveM server. The custom vehicles should now be accessible.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting Common Issues<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As with any modding process, you might encounter a few issues. Here are some common problems and their solutions:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Resource Not Found<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Server cannot find the resource.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Double-check the folder names and ensure they match exactly with the ones in <code>server.cfg<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Missing Textures<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Vehicles or maps appear incomplete or lack textures.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Verify that all required files are uploaded correctly. Re-upload any missing files and restart the server.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Server Crashes<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Server crashes after adding a new map or vehicle.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Double-check the integrity of the mod files. Corrupted files can cause crashes. Always use mods from reliable sources.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Invalid Data File<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Errors about invalid or corrupted data files.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Ensure the <code>fxmanifest.lua<\/code> file is correctly configured and all paths are correct.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Vehicle Not Spawning<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Custom vehicles do not spawn.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Verify the vehicle spawn names in the configuration files. Confirm there are no typos, and field values match the mod specification.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Map Objects Not Loading<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Parts of the custom map are not loading.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Ensure all related files (.ymap, .meta) are correctly uploaded. Adjust the draw distance settings if necessary.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Conflicting Mods<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Existing mods conflict with new ones.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Identify and resolve conflicts by disabling one mod at a time to identify the problematic one.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Performance Drops<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Server performance drops after adding maps or vehicles.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Monitor server resource usage. Optimize or remove unnecessary mods to free up resources.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Incorrect Permissions<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Players do not have permission to use the custom vehicles.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Adjust the server permissions configuration to allow access as needed.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Script Errors in Console<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Symptom<\/strong>: Errors appear in the server console related to scripts.<\/li>\n\n\n\n<li><strong>Solution<\/strong>: Check the syntax in the <code>fxmanifest.lua<\/code>. Ensure all dependencies are correctly installed and referenced.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">By following these steps and <a href=\"https:\/\/fivemx.com\/troubleshooting-fxserver-is-not-responding-how-to-fix\/\" data-wpil-monitor-id=\"1257\">troubleshooting<\/a> tips, you can enhance your FiveM server with custom maps and vehicles, providing a richer gameplay experience for your community. Keep your mods organized, document changes, and regularly check for updates to ensure everything runs smoothly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding custom maps and vehicles to your FiveM server can take your gameplay experience to a whole new level. From detailed city landscapes to sleek, custom vehicles, these mods enhance the immersive world of FiveM. This detailed guide will walk you through the process of installing these modifications and address common issues you might encounter [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":145466,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1899],"tags":[],"class_list":["post-148592","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\/148592","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=148592"}],"version-history":[{"count":0,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/posts\/148592\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media\/145466"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media?parent=148592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/categories?post=148592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/tags?post=148592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}