Infinity Store
Tebex StoreDiscord
  • CFX Auth
  • Resources
    • Scoreboard
      • Installation
      • Configuration
      • Robbery Integration
      • Exports
    • Squad system
      • Installation
      • Configuration
      • Exports
    • Notification
      • Installation
      • Configuration
      • Exports
    • Dashboard V2
      • Installation
      • Configuration
      • Webhooks
      • Exports
    • Job choice
      • Installation
      • Configuration
      • Exports
    • Pausemenu
      • Installation
      • Configuration
      • Exports
    • Playtime Shop
      • Installation
      • Configuration
      • Client events
      • SQL
      • Exports
    • Identity
      • Installation
      • Configuration
      • Exports
    • Keyguide
      • Installation
      • Configuration
      • Exports
    • HUD + UI LIB
      • Installation
      • Configuration
      • Customization
      • Exports
  • Military resources
    • Mortar
      • Installiation
      • Configuration
      • Exports
    • Bomb drone
      • Installiation
      • Configuration
      • Exports
    • Claymore
      • Installiation
      • Configuration
      • Exports
Powered by GitBook
On this page

Was this helpful?

  1. Military resources
  2. Claymore

Configuration

Configuration files overview:

Config = {}

Config.Framework = 'ESX' -- Framework: ESX/QBCORE (if you don't use framework you can use the item as a command)
Config.claymoreObj = 'w_ex_apmine' -- Object name
Config.claymoreItemName = 'claymore' -- Item name
Config.laserJammerItemName = 'laser_jammer' -- Item name

Config.useCommand = false -- Enable/Disable command
Config.commandName = 'claymoreActivate' -- Command name

Config.useForwardLaser = true -- Enable/Disable the third (forward) laser
Config.spreadLeft = 60.0 -- The angle of the left laser (45.0 = 45deg left)
Config.spreadRight = 120.0 -- The angle of the right laser (135.0 = 45deg right)

Config.laserDistance = 3.0 -- The length of the laser
Config.forwardLengthDivider = 1.2 -- The value that changes the third (forward) laser length (2.0 = half length)
Config.laserColor = {r = 255, g = 0, b = 0, a = 150} -- Laser color
Config.useOutline = true -- Enable/Disable the outline of the claymore when placing down
Config.outlineColor = {r = 255, g = 0, b = 0, a = 255} -- Outline color
Config.objAlpha = 200 -- Object alpha when placing down
Config.laserActivity = 10 -- The laser activity (the higher the more it vibrates) (0 = smooth) (in ms)

Config.activateTimer = 500 -- The detonate time (the less the faster it activates) (0 = instantly) (in ms)
Config.explosionSensivity = 1.2 -- The value which makes the sensivity of checking distance between player and claymore
Config.destroyDistance = 1.5 -- The distance it check that the bullet destroy the claymore

Config.exitButton = 194
Config.placeDownButton = 22
Config.rotateRightButton = 38
Config.rotateLeftButton = 44
Config.distanceIncreaseButton = 10
Config.distanceReduceButton = 11

Config.maxDistance = 2.0 -- Place down max distance value
Config.minDistance = 0.5-- Place down min distance value

Config.soundVolume = 0.5 -- Sound volume
Config.disarmingTime = 1500 -- Disarming time (in ms)
Config.disarmingDistance = 3.0 -- Disarming distance
Config.destroyObjectTime = 1 -- Time to destroy item after disarming (in minutes)

Config.animTime = 1500 -- Animation time (in ms)
Config.animDict = 'amb@medic@standing@kneel@base' -- Animation library
Config.animDictSecondary = 'anim@gangops@facility@servers@bodysearch@' -- Animation library 2
Config.useSecondary = true -- Enable/Disable secondary animation
Config.animName = 'base' -- Animation name
Config.animNameSecondary = 'player_search' -- Animation name

Config.showHelpText = true -- Enable/Disable help text

-- Languages
Config.helpText = {
    ['exit'] = 'Exit',
    ['place_down'] = 'Place down claymore',
    ['rotate_left'] = 'Rotate left',
    ['rotate_right'] = 'Rotate right',
    ['increase_distance'] = 'Increase distance',
    ['reduce_distance'] = 'Reduce distance',
}
PreviousInstalliationNextExports

Last updated 5 hours ago

Was this helpful?