This is now fixed and syncing with all players.
Huge thanks to @Raging_NaClholic with Fresh Start RP for all of his help.
I decided to try and combine mhacking with esx_doorlock so that players could break each other out of jail and hack into pd.
This resource allows one to hack all locked doors within esx_doorlock.
The hacking will not begin until the player has the item ‘keycard’ on them. I have included the sql for the item.
The item is consumed once you begin hacking. To change that go to server\server.lua line 55 and remove it.
Requires ‘mhacking’ and ‘esx’.
Put “start esx_doorlock_mhacking” in your server.cfg