Garry's Mod

Garry's Mod

3D Stream Radio
This topic has been locked
Garghoul 22 Feb, 2020 @ 10:40am
Permanent radios
Hello, your mod is amazing.

If you're still working on this, can you make it so you can save radios permanently on the map? That would be amazing for RP servers. If you can make it connect to the same radio station you left it on would also be great.

I'm asking becasuse the PermaProps Tool doesn't work on radios.
< >
Showing 1-7 of 7 comments
Grocel  [developer] 22 Feb, 2020 @ 11:17am 
PermaProps support is planned: https://github.com/Grocel/3D-Stream-Radio/issues/5
I still haven't got the time to go for it, though. When its done it should save and load it's state (station, playback, settings).

At the moment you can use the dublicator addons, the advanced dublicator does also have a map load and save feature that should work with the radio.
Michak89 10 Apr, 2020 @ 1:51pm 
Perma all works fine without falco. With falco's prop protection there is lua error while spawning radio and spawn fails.

[ERROR] lua/weapons/gmod_tool/stools/streamradio.lua:266: bad argument #1 to 'SpawnRadio' (Player or nil expected, got Entity)

I made small modification for my sbox server years ago in stools/streamradio.lua:266
It's just a quick fix.

if tostring(ply) == "Entity [0][worldspawn]" then ply = nil end
local ent = StreamRadioLib.SpawnRadio(ply, model, Pos, Ang, Settings)

Works for now.
Last edited by Michak89; 10 Apr, 2020 @ 1:56pm
Grocel  [developer] 23 May, 2020 @ 4:41pm 
Today I released an update that adds PermaProps support. Please let me know if you have any PermaProps problems left. Old PermaProps saves might still be broken and may need to be replaced.
Grocel  [developer] 3 Jun, 2020 @ 2:40pm 
Today was a minor update that changed something with the PermaProps support in combination with prop protections. Errors in that matter should be less likely now.
fverne 4 Jul, 2020 @ 3:58am 
very nice that you have permaprop support. do you plan on adding support for the regular persistance build into gmod? if we don't want to get the permaprops addon to save just one radio.
Grocel  [developer] 4 Jul, 2020 @ 5:07am 
It already is supported as like as dupes are supported. GMod Persistance, GMod Dupe and Gmod Saves are using the same API.
Grocel  [developer] 13 May, 2021 @ 5:17am 
Closed as resolved.
< >
Showing 1-7 of 7 comments
Per page: 1530 50