Skip to main content

CanUnlock

Usage​

  • Called when the player tries to unlock a keylock or codelock
  • Return a non-null value to override default behavior

Examples​

""
object CanUnlock(BasePlayer player, BaseLock baseLock)
{
Puts("CanUnlock works!");
return null;
}