Garry's Mod

Garry's Mod

Ikke nok vurderinger
Jertz's Laws Menu
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
Filstørrelse:
Offentliggjort:
Opdateret:
7.156 KB
1. juli 2016 kl. 10:49
21. okt. 2016 kl. 9:17
7 ændringsbemærkninger ( vis )

Abonner for at downloade
Jertz's Laws Menu

I 1 samling af Jertz
Jertz test pack
7 genstande
Beskrivelse
Very customizable Law Menu for DarkRP which can be opened at any time to view the current laws, and with easy controls for the Mayor to add laws, remove them etc. The default command to open the law menu is "/laws".

Comes with in-game settings for the owner to be able to change colors, notifications, sounds which will be saved in the data folder.

In addons/jertzlaws/lua/jl_settings.lua there's additional settings where you can for example restrict which ranks have access to the in-game menu, which command opens the laws, change the notification sound and also the ability to fully translate the menus to a different language. The in-game settings are stored in one text file located at data/jertzlaws/panelcolors.txt.

If you come across any problems, reply to the comments on this page.

How to Install:

1. Subscribe to the addon
2. Add the addon to your server's collection which has been set to run in your start.bat
3. Create or modify existing located at lua\autorun\server\workshop.lua and add a line resource.AddWorkshop("715049979")
4. Now when you launch your server, the addon will be automatically downloaded to your server as .gma file in your addons folder.

If you want to change in-depth settings other than which are available in-game, you need to extract the .gma file with GMAD Extractor and change them in lua/jl_settings.lua
Populære diskussioner Vis alle (1)
5
5. okt. 2016 kl. 14:27
Bug Report
Antoine 🍁
10 kommentarer
Jertz  [ophavsmand] 15. feb. 2021 kl. 13:05 
Unfortunately I'm no longer really developing for Garry's Mod so I can't help with the feature requests. I've uploaded the source code on GitHub if anyone needs it for bug fixes and alike. https://github.com/Jertzukka/jertzlaws
ieatyoulol 15. feb. 2021 kl. 11:06 
Could you add an option to keep the laws box up as part of the HUD?
9Rounds 5. dec. 2017 kl. 4:20 
oh ok
Jertz  [ophavsmand] 5. dec. 2017 kl. 4:10 
This addon doesn't manage default laws, just uses the ones given by DarkRP gamemode. Change them in addons/darkrpmodification/lua/darkrp_config/settings.lua and change the "GM.Config.DefaultLaws".
9Rounds 5. dec. 2017 kl. 1:56 
can i delete defualt laws?
Wareb 7. aug. 2016 kl. 9:56 
Lol yes my server is running on darkrp
Jertz  [ophavsmand] 7. aug. 2016 kl. 9:27 
This addon is only to be used with DarkRP gamemode, based on your error your server isn't running it. :steammocking:
Wareb 7. aug. 2016 kl. 8:47 
When I try to open the menu I have this error :


[ERROR] addons/menu/lua/client/cl_laws.lua:192: attempt to call field 'getLaws' (a nil value)
1. RefreshLaws - addons/menu/lua/client/cl_laws.lua:192
2. func - addons/menu/lua/client/cl_laws.lua:801
3. unknown - lua/includes/extensions/net.lua:32

Jertz  [ophavsmand] 7. aug. 2016 kl. 3:40 
Mentioned problem fixed. :steamhappy:
Antoine 🍁 6. aug. 2016 kl. 18:03 
Delete the fact that when the mayor adds laws that panel that displays wholes laws do not open because when you're in a plateau some PR work this problem.