Get door ID data
Export
exports["doors_creator"]:getDoorIdData(doorId)
Parameters
Name
Data Type
Description
doorId
integer
The door ID to get the data
Example
Citizen.CreateThread(function()
local doorId = 55
local doorData = exports["doors_creator"]:getDoorIdData(doorId)
print("The name of the door " .. doorId .. " is " .. doorData.label)
end)
Last updated
Was this helpful?