Nuno Radio Man Scripts
  • Documentation
    • 🔫Robbery
      • 🛠️Installation
      • 📃Items
      • 📔Door Docs
      • 📘NPC Docs
      • 📗Interactable Docs
      • 📕Laser Docs
      • 📙Robbery Spawn Docs
      • 📖Robbery Minigames
      • 📓Robbery Events
    • 👷Job
      • 🛠️Installation
      • 📑Items
      • 📔Blip Docs
Powered by GitBook
On this page
  1. Documentation
  2. Robbery

Laser Docs

Docs for built-in laser system.

Here is the official documentation for the laser system

cfg_robbery.lua
lasers = {
    { -- 1
        type = "static", -- type of laser | This sets the type of the laser
        position = {0.0,0.0,0.0,0.0,0.0,0.0}, -- {start_pos_x,start_pos_y,start_pos_z,end_pos_x,end_pos_y,end_pos_z}
        color = {255,0,0,200}, -- {r,g,b,alpha}
        status = false, -- if true the laser is active if false the laser is not active
        triggered = false, -- if true the laser has been triggered if false the laser hasnt been triggered
        laser_trigger_disable_interactable = {1,2,3}, -- {index,index,index,...} | Disables Interactables if the laser is Triggered
    },
},

PreviousInteractable DocsNextRobbery Spawn Docs

Last updated 1 year ago

🔫
📕