- fixed map cleanup not respawning armorers
- Added DConfig Support
- Added Other gamemode support
- Some minor improvements across the board
No changes made in weapons config file or main configuration files
Fixed sw_removenpc not removing npcs from the save file (They will now be removed through restarts, shutdowns... etc)
Cleaned up the NPC text.
Fixed spawning weapons creating lua errors.
Added config option to give weapons on everyspawn.
weapon.GiveOnSpawn = true/false
Added configuration options for blacklisting weapon for certain teams. Added a client side configuration option for not showing weapons that are black listed to that players team.
Example:
weapon.Blacklist = {TEAM_CITIZEN, TEAM_HOBO}
'weapons' folder untouched. You may carry over previous weapon configurations without errors.
Added a custom hook to call after all darkrp teams are loaded! Should fix the issue with certain teams not being able to buy weapons.
Fixes for buying/saving weapons
If your script is broken when purchasing download this version!
weapons/main.lua untouched!
Fixed multiple teams not hiding the weapon if enabled. Fixed client-side error Integrated loading functions with DarkRP hooks, so loading should be faster.
I have taken the entire day to completely re-write this script. The script purpose remains the same, but it cleaner, and more optimize now!
- Weapons are more easily configured (folder/weapons/main.lua)
- 19 extra configuration options
- Major improvements to the GUI and data system
- Removed everything from namespace _G into a public table to keep _G a bit more clear.
- A better spawning system (Still uses sw_addnpc/sw_removenpc)
- Content automatically downloaded via workshop.
Ability to restrict to jobs. Ability to restrict to teams. Ability to set a deployment cost.
Client-side settings to hide weapons that players own, not the right team, can't afford, or not the user-group!
More documentation!
** Weapon configuration will be untouched after this update, so free feel to configure as many as you want without the thought of having to redo them all**
Thank you!
Multiple bug fixes and improvements! Please update!
The weapon configuration process has changed, but you can copy + paste your old weapon config into the new one!
*Deploying Fixes! *Restrict Team Fixes! *Can now add a deployment cost onto weapons!
Expect a complete re-write of the addon within the week. That will including everything being configured/added through a in-game menu, and complete optimization of the script!
Small bug fix