exports["doors_creator"]:getAllDoors()
A table with all doors data
Citizen.CreateThread(function() local doors = exports["doors_creator"]:getAllDoors() for k, doorData in pairs(doors) do if(doorData.allowedJobs and doorData.allowedJob["police"]) then print(doorData.id .. " is a police door") end end end)
Last updated 2 years ago