Popular Post Avionix Posted April 8, 2021 Popular Post Report Share Posted April 8, 2021 Thought I'd give people the bind I use for my laws/show how to make a convenient law bind for them, just replace the text in the bind to easily change them as you wish. Essentially it uses aliases to run a command, then rebind that key to a different command, which then repeats until it cycles through completely. To use it, I would advise pasting it into your autoexec.cfg file, as it means it won't vanish randomly like some Gmod binds does, and also means you can paste the entire thing instead of doing it line by line. The autexec.cfg file is found in your gmod folder - for me this is located here (D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\cfg) https://gyazo.com/2e04342aea39352cc46149562a6c2425 It's fairly self explanatory, but I'll explain it briefly. mayor 1 - resets the laws so you can start fresh mayor 2 - adds the first law, outlawing all weapons, raiding tools, and mining tools - Nobody enforces the mining tools thing but it's funny mayor 3 - fairly obvious, stops those pesky trespassers mayor 4 - again, obvious, gets rid of hits and threats mayor 5 - miscellaneous illegal behaviour, throwing things refers to bugbaits and snowballs mayor 6 - stops people insulting you or not doing as you say mayor 7 - outlaws gunshops, because... why not mayor 8 - gets rid of the non default illegal entities (technically moonshine is always illegal, alcohol is a drug) mayor 9 - stops those annoying situations where people say they have a licence to sell guns etc mayor 10 - catchall thing that makes it look nicer than putting AOS -> KOS on every single line mayor 11 - starts a lottery for 25000 (if you don't have the skill, change it to 5000 otherwise it won't work) - and then resets the loop back to mayor 1 to change the key to whatever you want, just replace KP_UPARROW with whatever key you want that is more convenient for you Quote bind KP_UPARROW mayor1 alias mayor1 "bind KP_UPARROW mayor2;darkrp resetlaws" alias mayor2 "bind KP_UPARROW mayor3;darkrp addlaw "Open carry of Weapons, Raiding tools or Mining tools is illegal."" alias mayor3 "bind KP_UPARROW mayor4;darkrp addlaw "Being past the second door of the PD or Bank is illegal." alias mayor4 "bind KP_UPARROW mayor5;darkrp addlaw "Death threats or Asking for/Selling hits is illegal."" alias mayor5 "bind KP_UPARROW mayor6;darkrp addlaw "Cloaking/Disguising/Micspamming/Throwing things are illegal."" alias mayor6 "bind KP_UPARROW mayor7;darkrp addlaw "Disrespecting CP/Noncompliance with CP commands is illegal."" alias mayor7 "bind KP_UPARROW mayor8;darkrp addlaw "Selling or Buying weapons is illegal."" alias mayor8 "bind KP_UPARROW mayor9;darkrp addlaw "Moonshine and Bitcoin are illegal."" alias mayor9 "bind KP_UPARROW mayor10;darkrp addlaw "Licenses are not valid."" alias mayor10 "bind KP_UPARROW mayor11;darkrp addlaw "All things that are classed as illegal are AOS -> KOS."" alias mayor11 "bind KP_UPARROW mayor1;darkrp lottery 25000" To use: if you haven't restarted your game since adding these to your autoexec.cfg file, go into console and type "exec autoexec" and then press enter. Once you know these have been added, simply press numpad8 (or whatever key you change it to) 11 times, with at least 2 seconds between each press - less than this and you'll be rate limited and it won't apply the law, but will still move to the next alias, so you'll have to repeat the cycle. Enjoy Skyfie, Courier, Jaz and 22 others 22 1 2 Link to comment
Grape Posted April 9, 2021 Report Share Posted April 9, 2021 very useful thank you! Immersel 1 Link to comment
Avionix Posted April 10, 2021 Author Report Share Posted April 10, 2021 1 hour ago, 15inb said: we don't gotta worry about that Riph 1 Link to comment
Joseph Greenman Posted October 9, 2021 Report Share Posted October 9, 2021 Very Usefull Guide for who Plays Mayor or CP Alot,I reccomend to everyone who constantly plays mayor and has to put laws manually and thinks it's anooying(Like Me)to use it. Link to comment
Toast Posted October 9, 2021 Report Share Posted October 9, 2021 19 minutes ago, CG l Joseph said: Very Usefull Guide for who Plays Mayor or CP Alot,I reccomend to everyone who constantly plays mayor and has to put laws manually and thinks it's anooying(Like Me)to use it. Gravedigging Mr Joseph. Joseph Greenman 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now