From c991a70afccd210bb4e36ab252d28283bd265c12 Mon Sep 17 00:00:00 2001 From: qaate47 Date: Wed, 24 Jul 2024 18:23:56 +0200 Subject: [PATCH] release part 2 --- README.md | 5 +++++ demo/demo.gsc | 17 +++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec18e56..0c875ce 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,8 @@ Release : https://github.com/ate47/demo_mods/releases/tag/ep1 YouTube link : https://youtu.be/-eEuGDKdN5I + +### Part 2 + +Release : https://github.com/ate47/demo_mods/releases/tag/ep2 +YouTube link : https://youtu.be/a1PYKZ9h4Y0 \ No newline at end of file diff --git a/demo/demo.gsc b/demo/demo.gsc index 8e5d915..3207c45 100644 --- a/demo/demo.gsc +++ b/demo/demo.gsc @@ -27,6 +27,19 @@ function __main__() { } function on_player_spawned() { + level endon(#"end_game", #"game_ended"); + self endon(#"disconnect", #"spawned_player"); + wait 10; - self iprintlnbold("Hello world"); -} \ No newline at end of file + + c = 0; + + while (true) { + self iprintlnbold("Hello " + c); + + c++; + + wait 1; + } +} +