dobrograd-13-06-2022/garrysmod/addons/feature-wire/lua/wire/stools/data_satellitedish.lua

19 lines
702 B
Lua
Raw Normal View History

2023-11-16 15:01:19 +05:00
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