add sborka

This commit is contained in:
2026-03-31 10:27:04 +03:00
commit f5e5f56c84
2345 changed files with 382127 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
local PLUGIN = PLUGIN
PLUGIN.name = "Radio"
PLUGIN.author = "RefoselTeamWork"
PLUGIN.description = "Provides configurable radio communication."
PLUGIN.defaultFrequency = 100.0
PLUGIN.minFrequency = 30.0
PLUGIN.maxFrequency = 900.0
PLUGIN.frequencyPrecision = 3
PLUGIN.frequencyTolerance = 0.001
ix.util.Include("sv_plugin.lua")
ix.util.Include("cl_plugin.lua")
function PLUGIN:GetFrequency(client)
return client:GetNetVar("radioFrequency", self.defaultFrequency)
end
function PLUGIN:IsListening(client)
return client:GetNetVar("radioListen", true)
end
function PLUGIN:IsTransmitting(client)
return client:GetNetVar("radioTransmit", true)
end