This is my first release.
This ULX Module basically adds support for DarkRP, and is great for anyone who wants to use the ULX command system, for use with DarkRP.
!addmoney [Player] [amount] Adds money to the players wallet (use -amount to take away)
!setname [Player] [name] Sets a players RPName
!setjob [Player] [job name (can be impartial)] Sets a player to a job
!jobban [Player] [job name (can be impartial)] Bans a player from a job
!jobunban [Player] [job name (can be impartial)] Unbans player from a job
!selldoor sells the door you are looking at
!doorowner [Player] sets the owner of the door to the one specified
!arrest [Player] [time (in seconds)] arrests the player for a certain amount of time
!unarrest [Player] unarrests the player
!lockdown forces a lockdown
!unlockdown* force removes a lockdown*
To install, just place “darkrp.lua” into “/addons/ULX/lua/ulx/modules/sh/”.
Add shipment commands (like !shipment [ent] [amount])
Added Uke’s fixes to the original thread post, changes are:
**- Fixed !setjob so that it will always take the shortest job name over the longest one **
**- Added the ability to use job ID’s instead of just their name **
**- Added !arrest, !unarrest, !lockdown and !unlockdown commands **
**- Added !jobban, !jobunban, !selldoor and !doorowner commands
- Tidied up code a little
- Redid forum post layout a little
- !shipment illudes me…
- Initial release
I am up for suggestions if you’ve got them, otherwise, enjoy! If you have any bugs, feel free to post them below (include the error in console please).
DISCONTINUED - I am not updating this anymore