Entity:IsLockedByMain(Entity)

server
Whether this door is locked by the main door (described as 'master' door in keyvalues).

Argument

Returns

  • boolean true if locked by main, false otherwise.

Examples

Entity:IsLockedByMain – Whether this door is locked by the main door (described as 'master' door in keyvalues).