Stable
1.6.21
NEW More flexibility to categories, allowing for canSee etc
NEW QOL feature hiding the repair button if it cant be repaired
FIXED The management button going out of the screen when godmode is disabled
FIXED Mini cleanup in code
PM: When updating to this version you will have to do some config changes, specifically you need to create the category so it has one.
This is how it should look:
sPrinter.config["drp_categories"] = { -- This can be used to setup custom categories, for example Premium Printers etc... { name = "Printers", color = Color(200,0,0), canSee = function(ply) return true end, sortOrder = 999, }, // { // name = "Example1", // color = Color(230,0,0), // sortOrder = 20, // }, }
If you need any help with this do not hesitate opening a ticket.
Files Affected:
- lua\s_printer\sh_sprinter_config.lua
- lua\s_printer\sh_sprinter.lua
- lua\s_printer\screens\cl_rackscreen.lua