{"id":199024,"date":"2025-09-22T10:47:54","date_gmt":"2025-09-22T08:47:54","guid":{"rendered":"https:\/\/fivemx.com\/?p=199024"},"modified":"2026-06-22T20:39:13","modified_gmt":"2026-06-22T18:39:13","slug":"fivem-roteiro-de-casamento","status":"publish","type":"post","link":"https:\/\/fivemx.com\/pt\/fivem-marry-script\/","title":{"rendered":"FiveM Marry Script (Mod de Casamento)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Marry (FiveM\/ESX\/QBCore) \u2014 Weddings with Limo, Fireworks &amp; Shared Surnames<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Bring unforgettable weddings to your city.<\/strong> <em>Marry<\/em> lets players propose, accept, and celebrate with a full ceremony pipeline: limousine ride, cinematic camera, synchronized fireworks, optional outfits\u2014and an automatic shared last name for both partners.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/link-hub.net\/1197882\/zkygkuwFKZMJ\" rel=\"nofollow noopener\" target=\"_blank\">Download<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Why \u201cMarry\u201d?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Roleplay is all about meaningful moments. With <em>Marry<\/em>, engagements and weddings become server\u2011wide happenings rather than simple chat emotes. Everything is orchestrated server\u2011side for fairness and immersion, with a clean NUI for both proposer and receiver.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Immersive Ceremony<\/strong>: spawn limo + AI driver, route to venue, timed animations, fireworks, and camera shots.<\/li>\n\n\n\n<li><strong>Real Identity<\/strong>: optional last\u2011name update (auto\u2011detects ESX identity schemas) or soft mode via exports.<\/li>\n\n\n\n<li><strong>Frictionless Flow<\/strong>: propose \u2192 accept\/decline \u2192 ceremony \u2192 cleanup. Server keeps the truth (money, DB, logs).<\/li>\n\n\n\n<li><strong>Multi\u2011Framework<\/strong>: ESX 1.1\/1.2\/oldlegacy\/legacy and QBCore through a shared adapter.<\/li>\n\n\n\n<li><strong>Secure by default<\/strong>: session tokens, rate limits, proximity &amp; cooldown checks, profanity filters.<\/li>\n\n\n\n<li><strong>Localized<\/strong>: EN\/DE locales out of the box.<\/li>\n\n\n\n<li><strong><a href=\"https:\/\/fivemx.com\/why-open-source\/\" data-type=\"post\" data-id=\"174832\">Fully Open Source<\/a><\/strong><\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">New to frameworks? Our quick <strong>Framework Guide (ESX vs QBCore vs QBOX)<\/strong> can help you choose the right base for your city. <a href=\"https:\/\/fivemx.com\/fivem-frameworks\">Read the guide \u00bb<\/a><\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Feature Highlights<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Proposal System<\/strong> \u2014 Nearby player picker, surname entry, venue selector, optional message; receiver sees a modal prompt to accept or decline.<\/li>\n\n\n\n<li><strong>Ceremony Pipeline<\/strong> \u2014 Optional routing buckets for isolation, AI\u2011driven limo from pre\u2011anim start to destination, synchronized fireworks, male\/female anims, and cinematic camera.<\/li>\n\n\n\n<li><strong>Surname Update<\/strong> \u2014 Auto\u2011detects <code>users<\/code>\/<code>characters<\/code> tables (ESX variants); falls back to soft\u2011mode export if no identity system is present.<\/li>\n\n\n\n<li><strong>Config\u2011Driven<\/strong> \u2014 Stations, venues, animations, fireworks, clothing hooks, and prices are all in config.<\/li>\n\n\n\n<li><strong>Admin Tools<\/strong> \u2014 <code>\/marry:divorce<\/code> and <code>\/marry:status<\/code> with ACE permission <code>FiveMX_marry.admin<\/code>.<\/li>\n\n\n\n<li><strong>Developer Surface<\/strong> \u2014 Exports for marital status &amp; partner lookup, plus stable events for integrations (HUDs, scoreboards, etc.).<\/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\">How it Works (Player Journey)<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Propose<\/strong> near a configured Marry Station or via <code>\/marry<\/code> (at station).<\/li>\n\n\n\n<li><strong>Accept\/Decline<\/strong> \u2014 Receiver gets a localized prompt with details.<\/li>\n\n\n\n<li><strong>Celebrate<\/strong> \u2014 On acceptance, fee is processed, DB entries are created, surname logic runs, and the limo + fireworks + camera sequence kicks in. The server cleans up everything at the end.<\/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\">Compatibility &amp; Requirements<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Frameworks<\/strong>: ESX (<code>1.1<\/code>, <code>1.2<\/code>, <code>oldlegacy<\/code>, <code>legacy<\/code>) <strong>and<\/strong> QBCore (parity via adapter).<\/li>\n\n\n\n<li><strong>Database<\/strong>: <code>oxmysql<\/code> (migrations included).<\/li>\n\n\n\n<li><strong>Optional<\/strong>: <code>skinchanger<\/code> \/ <code>esx_skin<\/code> or <code>qb-clothing<\/code> for wedding outfits.<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">New to QBCore? See our quick starter on <strong>Setting Up QBCore Scripts<\/strong>.<br><a href=\"https:\/\/fivemx.com\/setting-up-qbcore-scripts\">Follow the steps \u00bb<\/a><\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Compatible with this Wedding dress:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/fivemx.com\/fivem-wedding-dress\">https:\/\/fivemx.com\/fivem-wedding-dress<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation (5\u201310 minutes)<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Drop the folder <strong><code>FiveMX_marry<\/code><\/strong> into your server\u2019s <code>resources\/<\/code>.<\/li>\n\n\n\n<li>Ensure dependencies (<code>es_extended<\/code> <strong>or<\/strong> <code>qb-core<\/code>, and <code>@oxmysql<\/code>).<\/li>\n\n\n\n<li>Start once; migrations auto\u2011create tables <code>marriages<\/code> and <code>marriage_audit<\/code>.<\/li>\n\n\n\n<li>Configure <code>config.lua<\/code> (see below) and set your desired ESX version string.<\/li>\n\n\n\n<li>Add to your <code>server.cfg<\/code> in proper order: <code>ensure oxmysql ensure es_extended # or: ensure qb-core ensure FiveMX_marry<\/code><\/li>\n\n\n\n<li>Restart the server or the resource via txAdmin.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Tip: After go\u2011live, use <strong>Resmon<\/strong> to keep an eye on performance while players test the ceremony. <a href=\"https:\/\/fivemx.com\/how-to-use-resmon-in-fivem-optimize-resources\">How to use Resmon \u00bb<\/a><\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Configuration Snapshot<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Below is a tiny excerpt to illustrate the style (we ship a full, documented config):<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">FiveMXCore = FiveMXCore or {}\nFiveMXLocales = FiveMXLocales or {}\n\n-- Framework &amp; version\nFiveMXCore.ESXVersion = 'legacy' -- 1.1 | 1.2 | oldlegacy | legacy\n\n-- Internal event prefix (do not change at runtime)\nFiveMXCore.InternalPrefix = 'FiveMX_marry:'\n\n-- Price &amp; stations\nFiveMXCore.MarryPrice = 5000\nFiveMXCore.MarryStations = {\n  { pos = vec3(-1378.4, -1409.8, 4.3), ped = 's_m_m_highsec_01', blip = {sprite=280, color=3}, radius = 3.0 }\n}\n\n-- Venues\nFiveMXCore.MarryLocations = {\n  beach = {\n    preanim = { car = 'stretch', start = vec3(-1395.1,-1370.2,4.5), destination = vec3(-1495.2,-1045.5,6.3), speed = 14.0 },\n    mainanim = { duration = 30, camera = { fov = 60 } , firework = { loop = 3 } }\n  }\n}\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A built\u2011in validator checks venues, stations, fireworks, and framework settings at startup, logging clear warnings if anything is misconfigured.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Admin Commands &amp; Permissions<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/marry<\/code> \u2014 open the proposal UI (at a Marry Station).<\/li>\n\n\n\n<li><code>\/marry:status [id]<\/code> \u2014 print marriage status for you or a target.<\/li>\n\n\n\n<li><code>\/marry:divorce &lt;id|identifier&gt;<\/code> \u2014 close an active marriage record; optional surname revert.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>ACE Permission<\/strong>: <code>FiveMX_marry.admin<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Developer API (Exports)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use these to integrate with HUDs, scoreboards, or custom storylines:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">exports['FiveMX_marry']:IsMarried(identifier_or_source) -- boolean\nexports['FiveMX_marry']:GetPartner(identifier)          -- {identifier, surname, married_at} | nil\nexports['FiveMX_marry']:GetMarriageRecord(identifier)   -- table | nil\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Events<\/strong> follow the pattern <code>FiveMX_marry:&lt;side&gt;:&lt;name&gt;<\/code> and are protected by session tokens and proximity checks. See the README for a full list.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Security &amp; Fair Play<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Server\u2011side money <a class=\"wpil_keyword_link\" href=\"https:\/\/fivemx.com\/fivem-vehicle-handling-editor\/\" title=\"FiveM Vehicle Handling Editor\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1813\">handling<\/a> &amp; DB writes<\/li>\n\n\n\n<li>Session tokens (rotated), cooldowns &amp; rate limits<\/li>\n\n\n\n<li>Proximity checks (stations &amp; partners), input sanitization<\/li>\n\n\n\n<li>Optional routing buckets during ceremonies<\/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\">FAQs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Does it work on both ESX and QBCore?<\/strong><br>Yes\u2014full parity through a shared <a href=\"https:\/\/fivemx.com\/adapter-patterns\/\" data-type=\"post\" data-id=\"193012\">framework adapter.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Will it change player last names?<\/strong><br>If your ESX identity schema exposes a <code>lastname<\/code> column, we can sync it. Otherwise, surname is stored in our own table and exposed via exports (for <a href=\"https:\/\/fivemx.com\/fivem-hud\/\" data-type=\"link\" data-id=\"https:\/\/fivemx.com\/fivem-hud\/\">HUDs<\/a>\/scoreboards).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What about performance?<\/strong><br>The ceremony uses short\u2011lived entities and cleans up rigorously. Use <a href=\"https:\/\/fivemx.com\/how-to-use-resmon-in-fivem-optimize-resources\/\" data-type=\"post\" data-id=\"161890\">Resmon<\/a> during your first events to confirm budget on your machine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Can we add our own venues &amp; fireworks?<\/strong><br>Absolutely\u2014everything is config\u2011driven. Add new <code>MarryLocations<\/code> with pre\u2011anim and main\u2011anim blocks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How do we localize?<\/strong><br>Set <code>FiveMXCore.Locales<\/code> and edit <code>locales\/en.lua<\/code> or <code>locales\/de.lua<\/code>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Changelog<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>v1.0.0<\/strong> \u2014 Initial public release: proposals, full ceremony pipeline, surname integration, EN\/DE locales, exports, admin tools, config validator.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\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:\/\/link-hub.net\/1197882\/zkygkuwFKZMJ\" rel=\"nofollow noopener\" target=\"_blank\">Download<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Need help setting it up or want a custom ceremony pack? Reach out via <strong>Support<\/strong> from the site footer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Marry (FiveM\/ESX\/QBCore) \u2014 Weddings with Limo, Fireworks &amp; Shared Surnames Bring unforgettable weddings to your city. Marry lets players propose, accept, and celebrate with a full ceremony pipeline: limousine ride, cinematic camera, synchronized fireworks, optional outfits\u2014and an automatic shared last name for both partners. Download Why \u201cMarry\u201d? Roleplay is all about meaningful moments. With Marry, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":199025,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2297,2298],"tags":[],"class_list":["post-199024","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-free","category-scripts"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/posts\/199024","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=199024"}],"version-history":[{"count":1,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/posts\/199024\/revisions"}],"predecessor-version":[{"id":206908,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/posts\/199024\/revisions\/206908"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media\/199025"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media?parent=199024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/categories?post=199024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/tags?post=199024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}