[HELP] Disable Npc drop weapon?

Any function that won’t allow npc to drop weapon when their death?? plz help

ty

SetPedDropsWeaponsWhenDead(int ped, bool toggle)

Find all the native functions:
https://gta-orange.net/api/Client-Side/Lua/Natives.html
http://www.dev-c.com/nativedb/
https://wiki.fivem.net/wiki/List_of_native_functions

Where do we have to add this line and how. I need this ASAP please .