Garry's Mod

Garry's Mod

Vehicle Radio
Golf 7. okt. 2019 kl. 23:02
Change the radius
Looking through the code, I was wondering if this code controlled that:

for k,v in pairs(RADIO_STANTIONS) do
RADIO_STANTIONS[k].soundScripts = {}
for k2, v2 in pairs(v.tracks) do
util.PrecacheSound(v2)
local name = string.format("RadioStation.%s.%s", k, k2)
RADIO_STANTIONS[k].soundScripts[k2] = name
sound.Add({
name = name,
sound = v2,
channel = CHAN_STREAM,
volume = 1.0,
pitch = {97, 103},
level = 75
})
util.PrecacheSound(name)
end
end


My guess was level = 75 was radius but I'm still uncertain.