dRdoors


#1

Allows to open/close doors at Mission Row PD.

Tested with the latest version of FX Server.

Copy the folder into your resources and add it to your server config.

Update 31 jan 2018 - New version, synced between clients.

dnaDoorManager.7z (3.1 KB)


Help i have a locksystem for police but i ned a key for open The doors
[Release] esx_doorlock
#2

Ain’t nothin’ here but a readme file.


#3

yea, have some issues with gitlab … busy fixing it


#4

Alrighty

(:mascot::mascot: )


#5

Ok download is fixed now


#6

This seems to only be client-side


#7

Pretty sure this will need a server-side file for other officers


#8

Yeah, this isn’t going to work like you think it will…


#9

Maybe have an event to that triggers on all clients to keep the door data synced?


#10

Thanks for all the input, will look into it to make it server side, keep in mind i’m still learning and this is basicly my first script.


#11

Well if you have questions don’t be afraid to ask. Good idea though with the script.


#12

Do I have your permisson to edit this script to make it work with different doors?


#13

I’m all about sharing so yes you can


#14

Also, anyone can lock and unlock doors. You should add a whitelist for doors using a steam hex whitelist.


#15

Yes that was the plan …


#16

If anyone can help my thoughts for server side, am i going into the right direction ?

So move the doors array server side, everytime the client comes close to the door the client sent a server event to readout the array.

If client locks/unlocks door, send event to the server to update the doors array


#17

Moved to #general-discussion per author’s request. :slight_smile:


#18

Is this a release??

(20Char)


#19

Moved to #development:scripts as it’s a better fit for this sort of thread :wink:


#20

I agree @Havoc (20Char)