Installation

*if using an inventory that isn't supported by t3_lib, please contact us for assistance*

  1. Install t3_lib

  2. Download the latest version of t3_tradingcards from keymaster

  3. Drag t3_tradingcards to your server's resources folder and add ensure t3_tradingcards to your server.cfg

  4. Config In the config.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. HTML Settings for the UI If you wish to use our repo, this will get the images centrally. Meaning you can delete all of the local images in the html folder. This was created to reduce the resource size when using multiple packs. You only need to define Tokens when you have uploaded a 'Private' pack to the repo. The commented token is for an example, you do not need to uncomment it.

    Config.HTML = {}
    Config.HTML.FileExtension = ".png" --Set this to the image type you want to use. Default: ".png"
    Config.HTML.UseRepo = true --If set to false it will use local images instead
    Config.HTML.Tokens = { --Only add tokens here if YOU have uploaded a private section in the repo
        --['pokemon'] = 'abcdefghijklmnop12345',
    }

    Selling Edit these options to your liking. You will need to chose the correct context menu you have installed, otherwise the menus will not work.

    Config.Selling = { --Config for selling. (Prices are defined per pack below)
        enableAlbums = true, --Set this to true to enable selling of COMPELTE albums.
        useExport = false, --used for player selling via a job, this disables npc/marker grading
        contextType = 'ox', --Define your context menu here. Supported menus 'nh_v1','zf','nh_v2','ox','qb'
        type = 'npc', --Supported types 'npc','marker'
        npc = {ped = 'ig_lifeinvad_02', loc = vector3(410.54,314.34,102.13), heading = 246.0},
        marker = {loc = vector3(412.03,315.11,102.13), 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},
    }

    Packs The standard Pokemon pack is set up ready to go. Please follow Adding new packs for a guide on how to add more.

  5. Add the InvHUDImages to your inventory's image folder

  6. Copy and paste the items from snippets to your framework/inventory.

  7. Restart the server.

Note for qb-inventory users. Images and labels will not change using the default qb-inventory. We have a fix for this on GitHub with our fork of qb-inventory.

Last updated