Undroppable weapons

I host my succesfull darkrp server, but there are some problems, people are able to drop arrest sticks, keypad crackers, physguns etc.

How do i exclude certains weapons from being dropped?

thank you!

In your config.lua, change GM.Config.restrictdrop from false to true. The core weapons(gravity & physics gun, arrest stick, unarrest stick, medic kit) are already blacklisted.
If you want to blacklist more weapons, open up main.lua and find the DropWeapon function. There should be a table above it, called NoDrop.

Just add weapon names in there:

NoDrop = {"weapon_name_here", "weapon_name_here2", "etc"}

Thank you it worked!