SHARE
TWEET

Untitled

a guest Oct 15th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let asd: ScriptDescription = {};
  2.  
  3. namespace ASD {
  4.     export let GameStart: boolean = false;
  5.     export namespace Load {
  6.         export function Init(): void {
  7.             if (GameRules.IsActiveGame()) GameStart = true;
  8.         }
  9.     }
  10. }
  11.  
  12. asd.OnUpdate = () => {};
  13.  
  14. asd.OnGameEnd = () => {
  15.     ASD.GameStart = false;
  16. };
  17.  
  18. asd.OnScriptLoad = asd.OnGameStart = ASD.Load.Init;
  19.  
  20. RegisterScript(asd);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top