1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Release [UPDATED] DarkRP Gun License Dealer v1.2.0

Discussion in 'DarkRP Addon & Plugin Releases' started by [TXG] Church, Oct 13, 2016.

  1. [TXG] Church

    [TXG] Church New Member

    [​IMG]

    DarkRP Gun License Dealer!
    [Built in DarkRP 2.7.0, previous version may not correctly]
    This addon simply skips the issue of "there's no mayor" and adds a gun license dealer to DarkRP that using custom set console commands, can be placed anywhere with a range of configurations to allow full customization.

    Features

    • Easy to use config
    • Simple to use commands
    • ULX rank admin check
    • Adjustable fee
    • Location saving
    Installation
    1. Extract your Gun License Dealer #.#.#.zip and get the gunlicensedealer folder
    2. Place in garrysmod\addons
    3. Navigate to lua\entities\npc_church_gunlicensedealer
    4. Edit config.lua to your liking
    5. Restart server, join, and use in-game commands to set all GLD locations. [Commands set in config]
    Configuration File
    There are many values for you to edit in the config or leave as is
    [​IMG]
    Bugs/Errors
    • No known bugs!
    • If you have an error, message me or comment below so I can get it fixed.
    Planned Features
    • In-game config
    • In-game save/remove through GUI
    • Redone GUI for more sleek appearance
    Changes With Newest Version
    • Changed all notifications from chat to DarkRP notifications (looks nicer).
    • Fixed bug where menu opened for all people.
    • Added background blur for opening menu.
    Previous Versions
    Version 1.1.0
    • Added in option to sell licenses if there is a mayor or not
    Version 1.0.0
    • Initial Launch

    If you enjoy the script, please leave a like and comment any suggestions below!
     

    Attached Files:

    Last edited: Oct 31, 2016
  2. Flynn 'Wolfy_'

    Flynn 'Wolfy_' New Member

    Great concept, maybe some pictures of the in-game UI?
     
  3. creator_2013

    creator_2013 New Member

    Spawns the NPC only when there is no mayor?
     
  4. [TXG] Church

    [TXG] Church New Member

    No it's a permanent NPC. It just bypasses the need for a player to give out the gun licenses and replaces that with the ability to just purchase it.
     
  5. creator_2013

    creator_2013 New Member

    Is it possible to add that or just allow to interact only when there is no mayor?
     
    [TXG] Church likes this.
  6. [TXG] Church

    [TXG] Church New Member

    I'll add an option in the next update! Thanks for the suggestion :D
     
  7. Thank you for the contribution, it is greatly appreciated
     
  8. Nagisa Momoe

    Nagisa Momoe Member

    Some question
    - Will the license saved after I buy it? Like after restart and stuff
    Suggestion
    - A license checker maybe? And it would be nice if you merge it with the Weapon Checker so there won't be too many weapons
     
  9. [TXG] Church

    [TXG] Church New Member

    - No, it's the regular DarkRP license that removes on job changes and server restarts
    - Nearly every hud incorporates a tag for if the person has a license or not but I can look into creating a small swep.
     
  10. Nagisa Momoe

    Nagisa Momoe Member

    Well the license is pretty useless if you can't check if a person have it or not
    I'm really looking forward for someone to create the pocket checker
     
  11. hiimwolf54656

    hiimwolf54656 New Member

    Thank you verry much
     

Share This Page