• Print

Author Topic: [ULX] ForceDemote ~ Demote a player on DarkRP  (Read 10887 times)

0 Members and 1 Guest are viewing this topic.

Offline Tomzen

  • Full Member
  • ***
  • Posts: 115
  • Karma: -1
  • A new lua adventurer
    • Thirdage Gaming
[ULX] ForceDemote ~ Demote a player on DarkRP
« on: July 25, 2015, 02:40:34 am »
DESCRIPTION:
Demote a player of choice to the default job (normally citizen, but you can customize it in the file)

USAGE: Located in DarkRP.
Menu: DarkRP > citizen (or CMD_NAME)> Player BEST OPTION
Console: ulx citizen (or CMD_NAME) "<name>" SECOND OPTION
Chat: !citizen (or CMD_NAME) "<name>" LAST OPTION
NOTE: CMD_NAME is located in the config section of the command.

INSTALLATION:
Download == Extract the zip and the contents into /addons file (garrysmod/addons/), relaunch map, and its done.
Source == SOURCE NOT INCLUDED

To Do:
  • Not relying on ULX
  • Auto Updates (not that it will need updating)

Extra:
This command includes a config section inside the lua file, please edit it to your liking (only if citizen is not the default job)
By default the config will look like this:
Code: Lua
  1. -- Config Section
  2. CATEGORY_NAME = "DarkRP" -- the category it appears in
  3. JOB_NAME = "Citizen" -- default job name
  4. CMD_NAME = "citizen" -- cmd to run (e.g ulx citizen, !citizen) Don't add the exclamation mark or "ulx"
  5. HELP_LINE = "Demote a player of choice!" -- default help message
  6. -- Config END
This command was created for Rockit14 as requested here.
Finished:
Impersonate
<==> FakePromote/Demote <==> RandomMap <==> ForceMic <==> Search <==> PlayMenu <==
WIP:
ServerMode <==

  • Print