21 lines
649 B
Lua
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
|