In den Warenkorb
Angebot!
Skript ESX QBCore Standalone

Dialog mit NPC

Ursprünglicher Preis war: $35.00Aktueller Preis ist: $23.00.

-34%

WIE ES FUNKTIONIERT? Das Skript funktioniert folgendermaßen: Zuerst erstellen wir eine Kamera und einen Dialog mit den angegebenen Optionen. Wenn keine Optionen angegeben werden, verweist das Skript intuitiv auf die Konfigurationsdatei, in der alles enthalten ist. Wir haben für reichlich Konfigurationsmöglichkeiten gesorgt, damit jeder den Dialog an seine Bedürfnisse anpassen kann.

EINSTECKEN UND VERWENDEN Das Skript bietet ein einzigartiges Dialogsystem mit einer Vielzahl von Konfigurationsoptionen. Bevor du es kaufst oder installierst, stelle sicher, dass du die Dokumentation konsultierst.

In den Warenkorb
FiveM NPC Dialog Skript
Dialog mit NPC
$35.00 Ursprünglicher Preis war: $35.00$23.00Aktueller Preis ist: $23.00.

Produktdetails

Framework
ESX, QBCore, Standalone
Ressourcentyp
Skript
Enthaltene Dateien
1 Download-Datei

Kaufdetails

Download-Format
ZIP

Konfigurationsdatei

cfg = {}

cfg.Dialog = {
    title = {
        text = "Example Title",
        background = {
            primary = "#00243a",
            secondary = "#050f19",
        },
    },
    additional = {
        text = "Example Additional",
        background = {
            primary = "#ff425d",
            secondary = "#b7162b",
        },
    },
    message = {
        text = "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.",
        typeEffect = 25,
    },
    audio = {
        path = "audio/example.mp3",
        volume = 50,
    },
    buttons = {
        {
            input = true,
            message = "Provide Your Full Name",
            type = "text",
            onSelect = function(id, input)
                print(id, input)
            end
        },
        {
            input = true,
            message = "Provide Your Age",
            type = "number",
            onSelect = function(id, input)
                print(id, input)
            end
        },
        {
            input = false,
            message = "Test Button 1",
            icon = {
                name = "fa-solid fa-house",
                color = "#ff425d",
            },
            onSelect = function(id)
                print(id)
            end
        },
        {
            input = false,
            message = "Test Button 2",
            icon = {
                name = "fa-solid fa-house",
            },
            onSelect = function(id)
                print(id)
            end
        },
        {
            input = false,
            message = "Test Button 3",
            onSelect = function(id)
                print(id)
            end
        },
    },
}

cfg.Camera = {
    animation = {
        male = {
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_a_male1"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_a_male2"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_b_male2"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_b_male3"},
        },
        female = {
            {dict = "missfbi3_party_b", anim = "talk_inside_loop_female"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_b_female"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_a_female"},
            {dict = "rcmnigel1cnmt_1c", anim = "price_tag"},
        },
    },
    camera = {
        position = {
            x = 0.0,
            y = 0.8,
            z = 0.7,
        },
        offset = {
            x = 0.0,
            y = 0.0,
            z = 0.5,
        },
        fov = 65.0,
        ease = true,
        easeTime = 1000,
    },
}

 

Bewertungen

Es gibt noch keine Bewertungen.

Nur angemeldete Kunden, die dieses Produkt gekauft haben, dürfen eine Bewertung abgeben.