Exemple #1
0
        public async void Unjail(JailCase jailCase)
        {
            Atlas.DetachTickHandler(OnTick);

            if (jailCase.HasEscaped)
            {
                return;
            }

            API.DoScreenFadeOut(0);

            await Cache.Entity.Teleport(ReleasePosition);

            await BaseScript.Delay(3000);

            API.DoScreenFadeIn(5000);

            LastJailCase = null;
        }
Exemple #2
0
 public void Hide()
 {
     Atlas.DetachTickHandler(OnTick);
 }