18 lines
702 B
Lua
18 lines
702 B
Lua
WireToolSetup.setCategory( "Memory" )
|
|
WireToolSetup.open( "data_satellitedish", "Satellite Dish", "gmod_wire_data_satellitedish", nil, "Satellite Dishs" )
|
|
|
|
if ( CLIENT ) then
|
|
language.Add( "Tool.wire_data_satellitedish.name", "Satellite Dish Tool (Wire)" )
|
|
language.Add( "Tool.wire_data_satellitedish.desc", "Spawns a Satellite Dish." )
|
|
end
|
|
WireToolSetup.BaseLang()
|
|
WireToolSetup.SetupMax( 20 )
|
|
|
|
TOOL.ClientConVar["model"] = "models/props_wasteland/prison_lamp001c.mdl"
|
|
|
|
TOOL.ReloadSetsModel = true
|
|
WireToolSetup.SetupLinking(true, "Wire Transferer")
|
|
|
|
function TOOL.BuildCPanel(panel)
|
|
WireDermaExts.ModelSelect(panel, "wire_data_satellitedish_model", list.Get( "Wire_satellitedish_Models" ), 1)
|
|
end
|