How to disable F2 inventory?

FiveM Does not have a “Basic Inventory” if you are asking a question regarding ESX
you will need to ask this question in the resources post.