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

21 lines
653 B
Lua

WireToolSetup.setCategory( "Vehicle Control" )
WireToolSetup.open( "pod", "Pod Controller", "gmod_wire_pod", nil, "Pod Controllers" )
if CLIENT then
language.Add("tool.wire_pod.name", "Pod Controller Tool (Wire)")
language.Add("tool.wire_pod.desc", "Spawn/link a Wire Pod controller.")
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
TOOL.NoLeftOnClass = true
TOOL.ClientConVar = {
model = "models/jaanus/wiretool/wiretool_siren.mdl"
}
WireToolSetup.SetupLinking(true, "pod")
function TOOL.BuildCPanel(panel)
ModelPlug_AddToCPanel(panel, "Misc_Tools", "wire_pod", nil, 1)
panel:Help("Formerly known as 'Advanced Pod Controller'")
end