Garry's Mod Leaks

Weapon Drops

Submitted by georgemare, , Thread ID: 166989

Thread Closed
14-04-2020, 01:47 PM
#1
This addon drops the players current weapon, if they have one. If you are getting attacked by somebody, and you kill them, their weapon will drop, for you to then pick up.
Features
? Plenty of configuration options.
? Whitelist for which weapons that can drop.
? Displays weapon name.
? Saves and displays ammo.
Installation
Installation of this addon, is as easy as it sounds.
Just extract the "Weapon Drop" to your addon folder.
Customizing
To customize the addons settings, go to Weapon Drop/lua/autorun/wepdrop_config.lua.
Below is the table for weapons to drop, including their weapon name, display name and ammo type.
WEPDROPAllowedWeapons = { -- FORMAT GOES LIKE THIS: weaponname, display name, ammo type.
{"weapon_mp52", "MP5 SMG", "smg1"},
{"weapon_fiveseven2", "FiveSeven Pistol", "pistol"},
{"weapon_ak472", "Ak47 Rifle", "rifle"},
{"weapon_glock2", "Glock Pistol", "pistol"} -- THE LAST LINE SHOULD NOT HAVE A COMMA AT THE END. BE AWARE OF THIS WHEN EDITING THIS!
}

Other general settings
WEPDROP_DESIGN_WepDropTextColor = Color(60, 60, 60, 255)
WEPDROP_DESIGN_WepDropTextBoarder = Color(0,0,0,255)
WEPDROP_DESIGN_WepTypeColor = Color(60, 60, 100, 255)
WEPDROP_DESIGN_WepTypeBoarder = Color(0,0,0,255)
WEPDROP_DESIGN_WepAmmoTextColor = Color(100, 60, 60, 255)
WEPDROP_DESIGN_WepAmmoTextBoarder = Color(0,0,0,255)


https://anonymousfiles.io/JwjZ3w80/

RE: Weapon Drops

#2
Badass, a lot better than the stuff on the workshop.

Users browsing this thread: 1 Guest(s)