Configuration File

Preview of config.lua file

Config = {}

Config.Debug = false -- Server console

-- exports['fjsf_3dtextui']:Create3DTextUI('vehicleshop', {
--     coords = vector3(-55.2261, -1097.0719, 26.6223),
--     markerDist = 15.0,
--     displayTextDist = 6.0,
--     distInteract = 3.0,
--     markerColor = '#ffffffff',
--     keys = {
--         {
--             key = 'E',
--             keyNum = 38, 
--             text = 'Open Catalogue',
--             backgroundColor = '#05d1ec',
--             textColor = '#ffffff',
--             executeCommand = '',
--             triggerEvent = {
--                 triggerName = 'fjsf_vehicleshop:openVehicleShop',
--                 args = {'PDM'}
--             }
--         },
--         {
--             key = 'G',
--             keyNum = 47,
--             text = 'Open License Shop',
--             backgroundColor = '#05ecbeff',
--             textColor = '#ffffff',
--             executeCommand = '',
--             triggerEvent = {
--                 triggerName = 'fjsf_vehicleshop:openLicenseShop',
--                 args = {}
--             }
--         }
--     }
-- })

-- exports['fjsf_3dtextui']:ChangeCoords('vehicleshop', vector3(-55.2261, -1097.0719, 26.6223))

-- exports['fjsf_3dtextui']:Remove3DTextUI('vehicleshop')

-- exports['fjsf_3dtextui']:ToggleTextUI('vehicleshop', false)
-- exports['fjsf_3dtextui']:ToggleTextUI('vehicleshop', true)


Config.TextUI = {
   vehicleshop = {
    coords = vector3(-55.2261, -1097.0719, 26.6223),
    markerDist = 15.0,
    displayTextDist = 6.0,
    distInteract = 3.0,
    markerColor = '#ffffffff',
    keys = {
      {
        key = 'E',
        keyNum = 38, 
        text = 'Open Catalogue',
        backgroundColor = '#05d1ec',
        textColor = '#ffffff',
        executeCommand = '',
        triggerEvent = {
            triggerName = 'fjsf_vehicleshop:openVehicleShop',
            args = {'PDM'}
        }
      },
        {
        key = 'G',
        keyNum = 47,
        text = 'Open License Shop',
        backgroundColor = '#05ecbeff',
        textColor = '#ffffff',
        executeCommand = '',
        triggerEvent = {
            triggerName = 'fjsf_vehicleshop:openLicenseShop',
            args = {}
        }
      }
    }
  },
  atm1 = {
    coords = vector3(147.48, -1036.199, 29.3223),
    markerDist = 8.0,
    displayTextDist = 1.2,
    distInteract = 1.0,
    markerColor = '#ffffffff',
    keys = {
      {
        key = 'E',
        keyNum = 38, 
        text = 'Enter ATM',
        backgroundColor = '#05ec05c9',
        textColor = '#ffffff',
        executeCommand = '',
        triggerEvent = {
            triggerName = '',
            args = {''}
        }
      }
    }
  },
  atm2 = {
    coords = vector3(145.84, -1035.699, 29.3223),
    markerDist = 8.0,
    displayTextDist = 1.2,
    distInteract = 1.0,
    markerColor = '#ffffffff',
    keys = {
      {
        key = 'E',
        keyNum = 38, 
        text = 'Enter ATM',
        backgroundColor = '#05ec05c9',
        textColor = '#ffffff',
        executeCommand = '',
        triggerEvent = {
            triggerName = '',
            args = {''}
        }
      }
    }
  },
  bank1 = {
    coords = vector3(148.27, -1040.899, 29.7223),
    markerDist = 8.0,
    displayTextDist = 1.2,
    distInteract = 1.0,
    markerColor = '#2aaccdff',
    keys = {
      {
        key = 'E',
        keyNum = 38, 
        text = 'Enter Bank',
        backgroundColor = '#059becc9',
        textColor = '#ffffff',
        executeCommand = '',
        triggerEvent = {
            triggerName = '',
            args = {''}
        }
      }
    }
  },
  bank2 = {
    coords = vector3(149.72, -1041.28, 29.7223),
    markerDist = 8.0,
    displayTextDist = 1.2,
    distInteract = 1.0,
    markerColor = '#2aaccdff',
    keys = {
      {
        key = 'E',
        keyNum = 38, 
        text = 'Enter Bank',
        backgroundColor = '#059becc9',
        textColor = '#ffffff',
        executeCommand = '',
        triggerEvent = {
            triggerName = '',
            args = {''}
        }
      }
    }
  },
  garage1 = {
    coords = vector3(213.72, -809.28, 31.0223),
    markerDist = 10.0,
    displayTextDist = 3.0,
    distInteract = 3.0,
    markerColor = '#7c2acdff',
    keys = {
      {
        key = 'E',
        keyNum = 38, 
        text = 'Open Garage',
        backgroundColor = '#c505ecc9',
        textColor = '#ffffff',
        executeCommand = '',
        triggerEvent = {
            triggerName = '',
            args = {''}
        }
      },
      {
        key = 'G',
        keyNum = 47, 
        text = 'Store Vehicle',
        backgroundColor = '#a782b2ae',
        textColor = '#ffffff',
        executeCommand = '',
        triggerEvent = {
            triggerName = '',
            args = {''}
        }
      }
    }
  }
}

Last updated