how do you set up certain doors with certain ace perms
how to set up doors opening with item? I canât figure it out
this scirpt made my balls back to blue ![]()
i keep getting [script:ox_doorlock:w] Warning: no compatible framework was loaded, most features will not work, Im on standalone only vmenu any fix?? and yes ive look at the docs
fix the order in server config
doorlock loads but the groups dont work, Im on standalone vmenu
For those who have a problem closing/opening the doors despite having a proper job
Create a folder named
doorlockfix
Create a server.lua and an fxmanifest.lua
Write this into the server.lua file:
Citizen.CreateThread(function()
Citizen.Wait(10000) â Wait 10 seconds (safety)
print(â^2[DoorFix] ox_doorlock is restarting for correct job groupsâŚ^7â)
if GetResourceState(âox_doorlockâ) == âstartedâ then
StopResource(âox_doorlockâ)
Citizen.Wait(1500)
end
StartResource(âox_doorlockâ)
print(â^2[DoorFix] ox_doorlock successfully restarted.^7â)
end)
and into the fxmanifest file:
fx_version âceruleanâ
game âgta5â
lua54 âyesâ
description âFix for ox_doorlock job groups after server startâ
version â1.0.0â
server_script âserver.luaâ
In the server config, simply add the following line at the very bottom:
ensure doorlockfix
Then the script will restart shortly after the server starts, and ox_doorlock will no longer cause the problems.
This is the version I use if you donât want to do it yourself.
ox_doorlockfix.rar (615 Bytes) [GERMAN]