Garry's Mod

Garry's Mod

Police/Emergency Services Radio
17 条留言
Exazyyy 2023 年 5 月 15 日 上午 10:23 
cant*
Exazyyy 2023 年 5 月 15 日 上午 10:23 
How it work? We can hear us
Felix  [作者] 2018 年 6 月 1 日 下午 5:01 
Sorry, I don't think it works in sandbox. It uses specific DarkRP functions.
Perc Baller 2018 年 6 月 1 日 下午 4:47 
not equipping in sandbox. This is the only file for this I have is there more?
Felix  [作者] 2018 年 5 月 2 日 下午 10:24 
Then you need an addon.json in the main folder that contains the other folders, this page will tell you how to format the file:
https://wiki.garrysmod.com/page/Workshop_Addon_Creation
PaynetotheMax 2018 年 5 月 2 日 下午 10:20 
It says addon.json isnt found
Felix  [作者] 2018 年 5 月 2 日 下午 9:08 
Did you modify the folder structure at all? Did you put any invalid files in any of the folders? Also, try running gmad from CMD, it's difficult to explain so it's best if you look on the internet yourself for how to do that.
PaynetotheMax 2018 年 5 月 2 日 下午 9:05 
for some reason, it wont accept the gma extracted folder it just closes out
Felix  [作者] 2018 年 5 月 2 日 下午 9:04 
No, you need to open lua files with some sort of text editor, preferably one that has a plugin for GLua (I use Atom personally). If they're in the correct folder structure in your Gmod addons folder whenever you edit them you can reset the map you're on to review your changes, you can keep the game open while editing and when you save and restart the map it'll have updated. If it was something spawnable you'd just have to respawn the entity but not in this case.
PaynetotheMax 2018 年 5 月 2 日 下午 9:01 
is there an addon where i can edit this ingame?
Felix  [作者] 2018 年 5 月 2 日 下午 8:38 
I got the file path wrong before, it should be in
/steamapps/common/GarrysMod/bin/
Felix  [作者] 2018 年 5 月 2 日 下午 8:37 
Don't download one, you might get a virus.
PaynetotheMax 2018 年 5 月 2 日 下午 8:33 
I don't have a gmad.exe ... got a download
Felix  [作者] 2018 年 5 月 2 日 下午 8:06 
You mean the folder containing the extracted addon? Gmad both decompiles and compiles so just drag the folder onto the executable.
PaynetotheMax 2018 年 5 月 2 日 下午 8:01 
Okay, but how do I create the folder itself into a gma?
Felix  [作者] 2018 年 5 月 2 日 下午 7:47 
I'm not sure, sorry. Perhaps you would get a useful response if you asked on the original addon, but I'm not sure. You should ask someone with Lua experience otherwise. You can decompile an addon to view its code by using a program called "gmad" which is in steamapps/garrysmod/bin, just drag and drop the .gma onto the executable and it should extract it.
PaynetotheMax 2018 年 5 月 2 日 下午 7:16 
how to add more channels to the radio?