Garry's Mod Leaks

Permanent Lawboards [DarkRP]

Submitted by rickharrisonxx, , Thread ID: 41023

Thread Closed
19-07-2017, 07:25 PM
#1
This is a small and simple addon that allows you place lawboards that automatically will spawn once the server starts.
Functionality

  1. Lawboard that spawns on server startup with the default laws(configured in DarkRP).
  2. Mayor can still place his own lawboards and they will not in any way interfere with the permanent lawboards.
  3. If the mayor adds a law, it'll be shown on the permanent lawboard too.
  4. Functions exactly like the regular lawboards except that they're permanent.

How to install

  1. Open the .zip file with Winrar(or a program like it)
  2. Place the PermanentLawboards folder in your garrysmod/addons folder(on the server)
  3. Restart your server, and it's done!

Configuration

  1. There's only one setting, and that is the usergroups that are allowed to use the console commands(to save the lawboards).
  2. This is set at PermanentLawboards/autorun/lua/server/sv_permanentlawboard.lua
  3. The very first line looks like this:
  4. local _cmdAccess = { "superadmin", "admin" };
  5. Simply place each rank inside.

How to use

  1. Open the Q menu, go to Entities > William's Items and spawn as many Lawboards you want.
  2. Place the lawboards anywhere.
  3. Once satisfied with their placement, simply type SaveLawboards in your console.

Console commands

  1. saveLawboards = finds each permanent lawboard on the map and saves them.
  2. spawnLawboards = if for some reason the lawboards are removed, you can respawn them by typing this instead of changinglevel/restarting.
Content locked
This content has been locked. Please login or register in order to unlock it.

RE: Permanent Lawboards [DarkRP]

#2
this! i been looking for a working link/version of this. thank you so much.

Users browsing this thread: 1 Guest(s)