Config

data/config.lua

General configuration is found in this file.

Defaults

local config = {
    plate = "TEBITRC", -- number plate for RC vehicles

    debug = true,         -- enable debug prints
    debug_command = true, -- enable debug command

    interact_distance       = 2.0,              -- distance to pickup RC vehicles
    render_distance         = 50.0,             -- distance to text for RC vehicles pickup

    range_warning_distance  = 10,               -- warn player if distance from ped is within this % from maximum range
    charge_warning_time     = 0.25,             -- warn player x minute before charge runs out

    vehicle_camera          = true,             -- allow vehicle camera?
    vehicle_camera_item     = "fpv_goggles",            -- required item for vehicle cameras (false/nil if none)
    force_fpv               = false,            -- force first person while using vehicle camera?

    ground_retrieval = true,    -- should RC vehicles be retrieved from the ground, instead of instantly transported back to the players inventory?
    remove_destroyed = true,    -- if the RC vehicle is destroyed, should the item be lost?

    reconnect_command = true,   -- allow the use of /reconnect command?

    repair_item = {
        item = "rc_repair_kit",     -- use this item to recharge the first RC vehicle in your inventory
        remove = 1,                 -- amount to remove on use
    },
    
    recharge_item = {
        item = "rc_battery_charger",    -- use this item to recharge the first RC vehicle in your inventory
        remove = 0,                     -- amount to remove on use
    },    
}

Last updated