GetAllDoors
From Onset Developer Wiki
Description
Get all doors as a table. Useful for loops.
Syntax
GetAllDoors()
Parameters
- This function has no parameters.
Return Value
- Returns a table of all doors.
Example
AddCommand("open", function(player)
for k, v in pairs(GetAllDoors()) do
SetDoorOpen(v, true)
end
end)
See also
__EDIT_ME__