[Release] Doors Control (vrp)

I tried it with Dunkos vRP, but i can’t make it work :frowning: ??

kann es mir jemand in deutsch übersetzenBearbeiten

Please write in english in the Forum.
Here is the translation:

Can someone translate it into german?

Can someone translate it into german?

Error loading script server.lua in resource portac: @vrp/lib/utils.lua:14: bad argument #1 to ‘load’ (function expected, got nil)
stack traceback:
[C]: in function ‘load’
@vrp/lib/utils.lua:14: in function ‘module’
server.lua:10: in main chunk
Failed to load script server.lua.
When i start in the consule this error happer can u help me plz

Ayooo. Any idea as to why this would be casuing handshake errors on my server? It will allow people to join for about and hour and then it will start to give anyone and everyone that tried to connect this error. It is forsure this resource because once I removed it, havent had issues, added it back in and then I get the handshake error. I love this resource too much to not have it but I cant have it so people cant join!

If you have no idea thats cool too :stuck_out_tongue:

Hi.
Need help in piece of code for closing (keys already made, the admission registered):
- two doors in the hospital:
on last floor - the door of the office of the chief doctor and the right of the double glass door.

the issue has been resolved

Can you tell me where i need to put [“Captain Key”] = {“:key: Captains Office”, “”, nil, 0.01},
[“LSPD Key”] = {“:key: LSPD”, “”, nil, 0.01} and if vRP.getInventoryItemAmount({user_id, “#”…doorList[id].key…".>0"}) or vRP.hasPermission({user_id,doorList[id].permission}) then please?

Error loading script server.lua in resource vRP_doorsControl-master: @vrp/lib/utils.lua:13: bad argument #1 to ‘load’ (function expected, got nil)
stack traceback:
[C]: in function ‘load’
@vrp/lib/utils.lua:13: in function ‘module’
server.lua:10: in main chunk
Know to repair this?

@sHOW1
Rename the resource to “doors”.
Next time read the answers/questions above before creating a new one :wink:

1 Like

Is there a way to add a 3D Text saying if the door is locked or not?

I make this but the doors text don’t apper

How i can make the doors to lock more faster?

Use CodeWalker :slight_smile:

What is this?

@XanderWP You send how to change it to “E” but like where do i have to put “E” ? I mean like do i have to put it or like just copy-past the Client?

@XanderWP What key to open LSPD doors? or how do i change it.

Why Can Everyone ipen the Doors?

resources[vrp]\vrp\cfg > Items.lua

["KEY_NAME"] = {"KEY_NAME_IN_INVENTORY", "KEY_DECS", nil, 0.1},

Remeber to set it corretly in your vrp_doors config or server.lua.

That should work. :slight_smile: