dobrograd-13-06-2022/garrysmod/addons/feature-wire/lua/wire/stools/las_receiver.lua
Jonny_Bro (Nikita) e4d5311906 first commit
2023-11-16 15:01:19 +05:00

18 lines
693 B
Lua

WireToolSetup.setCategory( "Detection" )
WireToolSetup.open( "las_receiver", "Laser Pointer Receiver", "gmod_wire_las_receiver", nil, "Laser Pointer Receivers" )
if CLIENT then
language.Add( "Tool.wire_las_receiver.name", "Laser Receiver Tool (Wire)" )
language.Add( "Tool.wire_las_receiver.desc", "Spawns a constant laser receiver prop for use with the wire system." )
TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
TOOL.ClientConVar = {
model = "models/jaanus/wiretool/wiretool_range.mdl",
}
function TOOL.BuildCPanel(panel)
ModelPlug_AddToCPanel(panel, "Misc_Tools", "wire_las_receiver")
end