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

21 lines
649 B
Lua

WireToolSetup.setCategory( "Vehicle Control" )
WireToolSetup.open( "exit_point", "Vehicle Exit Point", "gmod_wire_exit_point", nil, "Exit Points" )
if CLIENT then
language.Add( "tool."..TOOL.Mode..".name", TOOL.Name.." Tool (Wire)" )
language.Add( "tool."..TOOL.Mode..".desc", "Spawns a "..TOOL.Name )
WireToolSetup.setToolMenuIcon( "icon16/door_out.png" )
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax(6)
TOOL.ClientConVar = {
model = "models/jaanus/wiretool/wiretool_range.mdl",
}
WireToolSetup.SetupLinking(false, "vehicle")
function TOOL.BuildCPanel(panel)
ModelPlug_AddToCPanel(panel, "Misc_Tools", "wire_exit_point", true)
end