Garry's Mod

Garry's Mod

Nedostatek hodnocení
Jertz's Laws Menu
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
Velikost souboru
Přidáno
Aktualizováno
7.156 KB
1. čvc. 2016 v 10.49
21. říj. 2016 v 9.17
Poznámky ke změnám (7) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Jertz's Laws Menu

V 1 kolekci od uživatele Jertz
Jertz test pack
7 položek
Popis
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ární diskuze Zobrazit vše (1)
5
5. říj. 2016 v 14.27
Bug Report
Antoine 🍁
Počet komentářů: 10
Jertz  [autor] 15. úno. 2021 v 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. úno. 2021 v 11.06 
Could you add an option to keep the laws box up as part of the HUD?
9Rounds 5. pro. 2017 v 4.20 
oh ok
Jertz  [autor] 5. pro. 2017 v 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. pro. 2017 v 1.56 
can i delete defualt laws?
Wareb 7. srp. 2016 v 9.56 
Lol yes my server is running on darkrp
Jertz  [autor] 7. srp. 2016 v 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. srp. 2016 v 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  [autor] 7. srp. 2016 v 3.40 
Mentioned problem fixed. :steamhappy:
Antoine 🍁 6. srp. 2016 v 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.