Lockable Police Department Doors

I was just in a server that had the police department doors locked, only police officers could unlock it by pressing E. Not the main doors, just the changing room, and where the jail cells are. Does anyone know how to create that?

there’s a script that was released called dRdoors, however it’s not synced server side, you would have to create netevents and trigger/register them in a server file

Darklandz created it and included instructions for the ESX framework. MissBehavin was kind enough to do the ESX conversion and include both versions on GitHub.

3 Likes

Do you know of any cell door script that will work with vRP? I’m using Dunko’s vRP 6.6 and can’t find anything

1 Like

+1 any suggestions? <3 <3

Anyway we can use this for sliding gates that are added?

It should work with slidingdoors/gates too mate

We tried adding it and the only thing that happened was the Sandy Sheriffs office door stopped working. Really odd. Seems it always gets a resource warning using too much memory either… any fix for that?

Well i think then your only “way” to do it is to change the entity rotation and make the effect yourself. I’ve seen it on a server. For the garage door, the guy made a script to freeze the door then to manually move the entity off set when the player press “E”. You can probably think about this but i cant help you that much actually sorry. Btw im sorry for my english he is pretty but i wish you can understand me

i have lock the police office door but i cant unlock it again
Please help me

Does this work for the Sandy Shores and the Paleto Bay police departments?

How to unlock the doors? Is there a police card? Cant find it

Is this only for ESX or

How to make that everyone in the server could open the doors ? or how to make that only players with permissions can open the doors ?

I took a look at this and it does not seem to be compatible with the current versions of esx_policejob

I wouldn’t imagine it would be of much use in 2021.
Long outdated/imcompatible