Delete door
Export
exports["doors_creator"]:deleteDoor(doorId)Parameters
Name
Data Type
Description
Returns
Data Type
Description
Example
Citizen.CreateThread(function()
local doorId = 55
local success = exports["doors_creator"]:deleteDoor(doorId)
if success then
print("Door with ID " .. doorId .. " has been removed")
else
print("Failed to remove door with ID " .. doorId)
end
end)Last updated