Iconic-Scripts | Docs
  • SCRIPTS
    • iconic-rope
      • Config
      • Item creation
        • Tgiann_inventory
        • ox_inventory
    • Iconic-Minigames
      • Tutorial
    • Iconic-AdvancedGarges
      • Installation Guide
      • Fixing Categories
      • Exports
        • Client
          • Classes
          • Vehicle Stats
          • Vehicle Category
Powered by GitBook
On this page
  1. SCRIPTS
  2. iconic-rope

Config

How to edit config

Config = {}

function Config.ShowNotification(msg)
    -- ESX = exports["es_extended"]:getSharedObject()
    -- ESX.ShowNotification(msg) ---- you can change to your framework
end

function Config.helpNotify(msg)
    -- local ESX = exports["es_extended"]:getSharedObject()
    -- ESX.ShowHelpNotification(msg) ---- you can change to your framework
end

Config.RopeLenght = 2.5

Config.Labels = {
    pedToPed = 'Nie możesz przyczepić peda do peda!',
    toFar = 'Jesteś za daleko!',
    doing = "Już to robisz!",
    unTie = "Odczep linę!",
    helpNotify = 'Naciśnij E aby zaczepić linę, X aby przerwać'
}

Config.UseHelpNotify = false
Config.Inventory = 'esx' ---- esx/qb-inventory/custom --- custom means that your inventory system have items.lua file where you can add items example ox_inventory
Config.Item = 'rope'
Config.RaycastColor = {255, 255, 255}
Config.RaycastAlpha = 125
Previousiconic-ropeNextItem creation

Last updated 3 months ago