Note: This route is based off of Long John Steven's / Lurvens PBs/WR as of 7/28/2023. It will detail what potions are picked up, and how many are in inventory at the start and end of each "Screen". After each pickup in parenthesies will be how many potions the player has in their inventory after the pickup.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib.addCommand({ | |
name = {'additem', 'giveitem'}, | |
description = "Give an item to a player", | |
groups = {'admin', 'moderator'}, | |
args = { | |
{ | |
name = "target", | |
description = "Server ID", | |
type = "number", | |
required = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RegisterCommand('models', function () | |
local models = GetAllVehicleModels() | |
local missingVehicles = {} | |
for i = 1, #models do | |
if not VehicleList[models[i]] then | |
missingVehicles[#missingVehicles+1] = models[i] | |
end | |
end | |
lib.setClipboard(json.encode(missingVehicles)) | |
end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function convertToOx(data) | |
local name = data.header | |
local oxData = {} | |
local names = {} | |
local required = {} | |
local nextLabel = nil | |
for k, v in ipairs(data.inputs) do | |
if v.isRequired then | |
required[k] = true | |
end |