🆘
Documentation
  • 👋Welcome to T3 Dev
  • Resources
    • 🪄t3_lib
      • Installation
    • 🎴t3_tradingcards
      • Installation
      • Snippets
      • Adding new packs
      • Common Issues
    • 💯t3_grading
      • Installation
      • Snippets
    • 💰t3_comicrobbery
      • Installation
      • Snippets
    • 🚴‍♂️t3_deliveroo
      • Installation
    • 🛤️t3_trainjob
      • Installation
  • External Links
    • Tebex
    • Discord
    • GitHub
Powered by GitBook
On this page
  1. Resources
  2. t3_grading

Installation

Last updated 5 months ago

*this resource requires a supported inventory(see t3_lib) as it uses metadata*

  1. Make sure t3_tradingcards is installed

  2. Download the latest version of t3_grading from

  3. Inside the t3_grading folder you will find a t3_tradingcards folder. Merge this folder with the one installed on your server, making sure to overwrite the fxmanifest.lua

  4. Config In the gradingconfig.lua you will find some options you need to set up. The commented sections at the end of each line will tell you the currently supported options for each setting.

    Config.Grading = {
        enable = true,
        useExport = false, --used for player graing via a job, this disables npc/marker grading
        cost = 100, --per card
        time = 300, --seconds to grade a card
        type = 'npc', --Supported types 'npc','marker'
        npc = {ped = 'ig_lifeinvad_01', loc = vector3(-124.67, -71.50, 54.97), heading = 154.5},
        marker = {loc = vector3(-124.67, -71.50, 54.97), drawDist = 8.0, type = 20, scale = vector3(0.25,0.25,0.25), color = {r=255,g=255,b=255,a=255}},
        textSettings = {color = {r=255,g=255,b=255,a=255}, font = 4},
    }

    Blacklist Cards defined here will not receive a grade.

    Config.Blacklist = {
        {pack = "pokemon", card = "mew"},
    }

    Grading chance You don't need to touch this but if you want to edit the chances for each grade then this is where to do it. Each chance is worked out by the difference between the last one and this one. You can see the comments on the example for reference.

    Config.Grades = {
        [1] = {grade = "0.5",chance = 2}, --2%
        [2] = {grade = "1",chance = 5}, --3%
        [3] = {grade = "1.5",chance = 8}, --3%
        [4] = {grade = "2",chance = 11}, --3%
        [5] = {grade = "2.5",chance = 14}, --3%
        [6] = {grade = "3",chance = 17}, --3%
        [7] = {grade = "3.5",chance = 21}, --4%
        [8] = {grade = "4",chance = 25}, --4%
        [9] = {grade = "4.5",chance = 31}, --6%
        [10] = {grade = "5",chance = 40}, --9%
        [11] = {grade = "5.5",chance = 49}, --9%
        [12] = {grade = "6",chance = 58}, --9%
        [13] = {grade = "6.5",chance = 67}, --9%
        [14] = {grade = "7",chance = 76}, --9%
        [15] = {grade = "7.5",chance = 84}, --8%
        [16] = {grade = "8",chance = 90}, --6%
        [17] = {grade = "8.5",chance = 94}, --4%
        [18] = {grade = "9",chance = 97}, --3%
        [19] = {grade = "9.5",chance = 99}, --2%
        [20] = {grade = "10",chance = 100}, --1%
    }

  5. Refresh and restart t3_tradingcards or restart the whole server.

💯
keymaster