Alangara_PRC8/_module/nss/mn_doorautolock2.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

14 lines
194 B
Plaintext

void lockDoor()
{
ActionCloseDoor( OBJECT_SELF );
SetLocked( OBJECT_SELF, TRUE );
}
void main()
{
if (GetIsPC(GetLastUsedBy()))
{
DelayCommand(30.0, lockDoor() );
}
}