📕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
    },
},

Last updated