DarkRP - No "/drop" Items Spawned With

I need someone with miraculous skillz to help me write a simple script that enables anyone who spawns in with a weapon, say the phys_gun or CP glock, to not be able to /drop it and change jobs. It has been a problem conflicting with a code I have that has a Black Market dealer have unique drop-able weapons, such as a keypad cracker, that thieves spawn with. If someone could write me a quick piece of code to place in that allows players not to drop weapons that spawned with their new job class, but be able to /drop and /holster anything they have/buy/find, that would be amazing!

Thanks guys

Just modify the /drop and add an if statement that checks the class of the weapon.

there’s a table called NoDrop in main.lua