RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • 🔔Notify
      • ⚙️Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🖼️Loadingscreen
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🔎Advanced Metal Detector Script
      • 📝Editable
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️24/7 Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Weapon Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Black Market Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚗Simple Garage
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎒Outfit Bag Script
      • 💡Installation
      • ⚙️Configuration
      • ⚙️Usage
      • ❔FAQ / Troubleshooting
    • 🔘Radial Menu
      • 💡Installation
      • ⚙️Commands & Event Triggers
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🗒️TicTacToe / X and O
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • ⚙️Advanced Crafting System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍕Pizza Delivery Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎇Firework Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 📦Blindfold
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  • QB-CORE
  • Not sure what to delete?
  • QBOX
  • Not sure what to delete?
  • ESX
  • Not sure what to delete?
  1. SCRIPTS
  2. Radial Menu

Installation

Explain how to install and configure the script:

PreviousRadial MenuNextCommands & Event Triggers

Last updated 1 month ago

  1. Download & Extract

  2. Add to Server Config

  3. Configure

SCRIPT ERROR: @litz_radialmenu/client/bridge.lua:10: No such export getSharedObject in resource

QB-CORE

  1. Open the file client/bridge.lua

  2. Remove every line that mentions

    • es_extended (ESX)

    • qbx_core(QBOX)

Not sure what to delete?

Just select the entire file, press Delete, and paste the code below.

Save the file and restart (or reload) the resource.

function GetPlayerJob()
    if exports and exports['qb-core'] and exports['qb-core'].GetCoreObject then
        local QBCore = exports['qb-core']:GetCoreObject()
        if QBCore and QBCore.Functions and QBCore.Functions.GetPlayerData then
            local qData = QBCore.Functions.GetPlayerData()
            if qData and qData.job then
                return qData.job.name
            end
        end
    end
    return nil
end

QBOX

  1. Open the file client/bridge.lua

  2. Remove every line that mentions

    • es_extended (ESX)

    • qb-core

Not sure what to delete?

Select the whole file, press Delete, and paste the code below.

Save the file and restart (or reload) the resource.

function GetPlayerJob()
    if exports and exports['qbx_core'] then
        local success, data = pcall(function()
            return exports['qbx_core']:GetPlayerData()
        end)
        if success and data and data.job then
            return data.job.name
        end
    end
    return nil
end

ESX

  1. Open the file client/bridge.lua

  2. Remove every line that mentions

    • qbx_core (QBOX)

    • qb-core

Not sure what to delete?

Select the entire file, press Delete, and paste the code below.

Save the file and restart (or reload) the resource.

function GetPlayerJob()
    if exports and exports['es_extended'] and exports['es_extended'].getSharedObject then
        local ESX = exports['es_extended']:getSharedObject()
        if ESX and ESX.GetPlayerData then
            local esxData = ESX.GetPlayerData()
            if esxData and esxData.job then
                return esxData.job.name
            end
        end
    end
    return nil
end
🔘
💡
Tebex