It would be great if I could let civilians have the chance of breaking out of jail.
Did you add onto the door lock which roles can use that lock?
This isnāt a jail script?
Hey boss,
Iām modifying your door locking script, to allow jailbreaking support via FX/NonESX
Iām trying to add an elseif to your permission checking.
so basiclly i have a command ā/givekeycardā with exporting etc done, but Iām having trouble adding an elseif hasKeycard
to your isAuthorized function.
Any idea on what i would do? thanks!
function isAuthorized(role, doorObject)
for k, rolee in pairs(doorObject.authorizedRoles) do
if rolee == role then
return true
end
end
return false
end
Getting this error in the console: cfx> SCRIPT ERROR: @Badger_Doorlock/server/main.lua:59: attempt to index a nil value (global āConfigā)
Does This Work With Your API??
i have tried everything, canāt get the door to lock and unlock.
Then i gotta tell you, youāre doing something wrong, without a response from badger i tested this out in my server and it still works just fine, just make sure youāre using his API
It there a way to make it without permissions besides civs
hello, I have a question how can I make sure that only the police can use Badger_Tackle
Have you found a fix for this issue yet?? its still on-going
how do I do this with gabz mrpd?
How to I add custom doors to the config, I canāt find the prop name through the hash but I can view the props of the custom interior through open IV, do I just put the name of the prop cause thatās what Iām thinking but idk because the name just looks wrong like hereās the name: xm_cellgate.ydr
Is there any way we can just put the model hash instead of name?
If you bought his MRPD, it comes with a door plan with all the info youāll need.
is it possible to tackle a npc?
So I am trying to intall the bagders door lock script but for some reaosen it dont wanna work when I just apply the role Iād in config.lua and upload it with no modifications it works but when I try to add more door locks in sandy and Paleto bay this is the error I get any idea on how to fix this
SCRIPT ERORR: @Badgers_Doorlock/client/maine.lua:26: attempt index a nil (global āconfigā
SCRIPT ERORR: @Badgers_Doorlock/client/maine.lua:69: attempt index a nil (global āconfigā
Vrp/Vrpex?
How do I actually get the hash of the custom door?
Config is NULL because in your config.lua you messed up syntax for doors.