{"id":157309,"date":"2024-09-17T09:20:13","date_gmt":"2024-09-17T07:20:13","guid":{"rendered":"https:\/\/hifivem.com\/?post_type=product&#038;p=157309"},"modified":"2025-12-24T07:29:55","modified_gmt":"2025-12-24T06:29:55","slug":"dialogue-avec-le-pnj","status":"publish","type":"product","link":"https:\/\/fivemx.com\/fr\/dialog-with-npc\/","title":{"rendered":"Dialogue avec le PNJ"},"content":{"rendered":"<p>https:\/\/www.youtube.com\/watch?v=nCsC5g-3_SQ<\/p>\n<h3>Fichier de configuration<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">cfg = {} cfg.Dialog = { title = { text = &quot;Exemple de titre&quot;, background = {primaire = &quot;#00243a&quot;, secondaire = &quot;#050f19&quot;, }, }, additionnel = { text = &quot;Exemple suppl\u00e9mentaire&quot;, background = { primaire = &quot;#ff425d&quot;, secondaire = &quot;#b7162b&quot;, }, }, message = { texte = &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse imperdiet enim vitae nibh ultricies, et laoreet libero ultricies. Vestibulum nec nisl sollicitudin, mattis augue eget, mollis sapien. Vivamus sed molestie arcu, at convallis augue.&quot;, typeEffect = 25, }, audio = { chemin = &quot;audio\/exemple.mp3&quot;, volume = 50, }, boutons = { { input = true, message = &quot;Fournissez votre nom complet&quot;, type = &quot;texte&quot;, onSelect = function(id, input) print(id, input ) fin }, { input = true, message = &quot;Fournissez votre \u00e2ge&quot;, type = &quot;number&quot;, onSelect = function(id, input) print(id, input) fin }, { input = false, message = &quot;Bouton de test 1&quot;, ic\u00f4ne = { nom = &quot;fa-solid fa-house&quot;, couleur = &quot;#ff425d&quot;, }, onSelect = function(id) print(id) end }, { input = false, message = &quot;Bouton de test 2&quot; , ic\u00f4ne = { nom = &quot;fa-solid fa-house&quot;, }, onSelect = function(id) print(id) end }, { input = false, message = &quot;Bouton de test 3&quot;, onSelect = function(id) print (id) fin }, }, } cfg.Camera = { animation = { m\u00e2le = { {dict = &quot;missfbi3_party_d&quot;, anim = &quot;stand_talk_loop_a_male1&quot;}, {dict = &quot;missfbi3_party_d&quot;, anim = &quot;stand_talk_loop_a_male2&quot;}, {dict = &quot;missfbi3_party_d&quot;, anim = &quot;stand_talk_loop_b_male2 &quot;}, {dict = &quot;missfbi3_party_d&quot;, anim = &quot;stand_talk_loop_b_male3&quot;}, }, femelle = { {dict = &quot;missfbi3_party_b&quot;, anim = &quot;talk_inside_loop_female&quot;}, {dict = &quot;missfbi3_party_d&quot;, anim = &quot;stand_talk_loop_b_female&quot;}, {dict = &quot;missfbi3_party_d&quot;, anim = &quot;boucle_de_discussion_de_stand_avec_une_femme&quot;}, {dict = &quot;rcmnigel1cnmt_1c&quot;, anim = &quot;prix_\u00e9tiquette&quot;}, }, }, cam\u00e9ra = { position = { x = 0,0, y = 0,8, z = 0,7, }, d\u00e9calage = { x = 0,0, y = 0,0, z = 0,5, }, fov = 65,0, facilit\u00e9 = vrai, facilit\u00e9Time = 1000, }, }<\/pre>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p><strong>COMMENT \u00c7A MARCHE?<\/strong> Le script fonctionne comme suit : tout d&#039;abord, nous cr\u00e9ons une cam\u00e9ra et une bo\u00eete de dialogue avec les options sp\u00e9cifi\u00e9es. Si aucune option n&#039;est fournie, le script se r\u00e9f\u00e9rera intuitivement au fichier de configuration o\u00f9 tout est inclus. Nous avons pr\u00e9vu de nombreuses options de configuration afin que chacun puisse personnaliser la bo\u00eete de dialogue selon ses besoins.<\/p>\n<p><strong>BRANCHER ET UTILISER<\/strong> Le script propose un syst\u00e8me de dialogue unique avec un large \u00e9ventail d&#039;options de configuration. Avant d&#039;acheter ou d&#039;installer, assurez-vous de consulter la documentation.<\/p>","protected":false},"featured_media":157310,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[511,96,512,2907],"product_tag":[],"class_list":["post-157309","product","type-product","status-publish","has-post-thumbnail","product_cat-standalone-scripts","product_cat-esx-scripts","product_cat-qbcore-scripts","product_cat-qbox-scripts","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product\/157309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/comments?post=157309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/media\/157310"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/media?parent=157309"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_brand?post=157309"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_cat?post=157309"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_tag?post=157309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}