An old project, where I helped disable buttons on the controller, when people use the FivePD resource for FiveM
- Extract "controls.lua" into your main FivePD folder (see example: https://i.imgur.com/3U7Rq2r.png).
- In your "__resource.lua" file, add >> 'controls.lua', << to the top of the "client_scripts" brackets (see example: https://i.imgur.com/PZuIC2B.png).
- Restart your server.
This is the original post, posted by myself on theGTAPoliceMods website. https://gtapolicemods.com/index.php?/files/file/873-fivepd-controller-fix/