Config file

--[[ 
    - this script needs tgiann-core script to work, you can download the script from your keymaster account
      Start tgiann-core script after es_extented/qb-core script and before tgiann-* scripts
      Adjust the tgiann-core config file according to the framework you are using

    Note: check server/editable.lua for screenshot discord webhook
    Docs: https://tgiann.gitbook.io/tgiann/scripts/tgiann-postcard
    Credit: https://lumisaphy.tebex.io/ <3
    BzZz Thanks for prop - https://bzzz.tebex.io/
]]

tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()
config.itemName = "postcard"
config.postCardImg = {    
    "pc1.webp",
    "pc2.webp",
    "pc3.webp",
    "pc4.webp",
    "pc5.webp",
    "pc6.webp",
    "pc7.webp",
    "pc8.webp",
    "pc9.webp",
    "pc10.webp",
    "pc11.webp",
    "pc12.webp",
    "pc13.webp",
    "pc14.webp",
    "pc15.webp",
    "pc16.webp",
    "pc17.webp",
    "pc18.webp",
    "pc19.webp",
    "pc20.webp",
    "pc21.webp",
    "pc22.webp",
    "pc23.webp",
    "pc24.webp",
    "pc25.webp",
}
config.userTableName = config.framework == "esx" and "users" or "players"
config.userTableIdType = config.framework == "esx" and "identifier" or "citizenid"
config.postBox = {
    `prop_postbox_01a`,
    `prop_postbox_ss_01a`
}
config.commandEnable = true
config.command = "postcard"
config.target = "qb" -- false, "ox", "qb"
config.notifLocation = { -- CSS Style
    left = "3vh",
    top = "3vh"
}
config.lang = "en" -- "tr"   "en"   "de"
config.langs = {
    tr = {
        postcard = "KARTPOSTAL",
        lowpostcard = "Kartpostal",
        save = "Kaydet",
        close = "Kapat",
        selectPostCard = "Kartpostal Seç",
        from = "Gönderen:",
        to = "Alıcı:",
        saved = "Kaydedildi",
        textPlaceHolder = "Gönderilecek Kişinin İsmi",
        line1 = "America",
        line2 = "Lossantos",
        line3 = "",
        postBox = "Posta Kutusu",
        slot = "Slot",
        postId = "Posta ID ",
        sended = "Posta Gönderildi",
        get = "Posta Alındı",
        sendPost = "Posta Gönder",
        checkPost = "Postalarını Kontrol Et",
        noMyPost = "Hiç Postan Yok! Bugünde Umursanmadın :(",
        noItem = "Gönderebileceğin Bir Kartpostalın Yok!",
        noNearPostBox = "Yakınlarda Posta Kutusu Yok",
        typeSometing = "Birşeyler yaz...",
        --Kamera
        cameraBack= "İptal Et",
        changeCamerePos= "Kamerayı Çevir",
        cameraShot= "Çek",
        cameraChangeLoc = "Konum Değiştir",
        cameraChangeLocDisable = "Konum Değiştirmeyi Kapat",
    },
    en = {
        postcard = "POSTCARD",
        lowpostcard = "Postcard",
        save = "Save",
        close = "Close",
        selectPostCard = "Select Postcard",
        from = "From:",
        to = "To:",
        saved = "Saved",
        textPlaceHolder = "Name of the person to send ",
        line1 = "America",
        line2 = "Lossantos",
        line3 = "",
        postBox = "Post Box",
        slot = "Slot",
        postId = "Post ID ",
        sended = "Post sent",
        get = "Post recieved",
        sendPost = "Send Post",
        checkPost = "Check your Postbox",
        noMyPost = "You don't have any post! No one cared about you today :(",
        noItem = "You don't have any postcard to send!",
        noNearPostBox = "No Postbox near!",
        typeSomething = "Write something...",
        --Camera
        cameraBack= "Cancel",
        changeCamerePos= "Change Cam Mode",
        cameraShot= "Take a Photo",
        cameraChangeLoc = "Change Location",
        cameraChangeLocDisable = "Disable Change Location",
    },
    de = {
        postcard = "POSTKARTE",
        lowpostcard = "Postkarte",
        save = "Speichern",
        close = "Schließen",
        selectPostCard = "Postkarte wählen",
        from = "Absender:",
        to = "Empfänger:",
        saved = "Gespeichert",
        textPlaceHolder = "Name der zu sendenden Person",
        line1 = "America",
        line2 = "Lossantos",
        line3 = "",
        postBox = "Briefkasten",
        slot = "Slot",
        postId = "Post ID ",
        sended = "Post verschickt",
        get = "Post empfangen",
        sendPost = "Schick post",
        checkPost = "Prüfe deinen Briefkasten",
        noMyPost = "Bu hast keine Post! Keiner hat heute an dich gedacht :(",
        noItem = "Du hast keine Postkarte zum Versenden!",
        noNearPostBox = "Kein Briefkasten in der Nähe",
        typeSomething = "Schreibe etwas...",
        --Kamera
        cameraBack= "Abbrechen",
        changeCamerePos= "Kameramodus ändern",
        cameraShot= "Foto schießen",
        cameraChangeLoc = "Den Ort wechseln",
        cameraChangeLocDisable = "Ort wechseln deaktivieren",
    },
}

Last updated