can i set a timed messages
-
Duui YTwrote on May 29, 2020, 9:21 PM last edited by Duui YT May 30, 2020, 12:23 AM
is there a code to set a message on a timer so like after the welcome massage it says do this after that is do it says do that
-
You can thread a function containing a
for(;;)
loop and await
statement.timedMessage() { level endon("game_ended"); for(;;) { allClientsPrint("This is a message printed to all players."); wait 45; } }
Call the function like
level thread timedMessage();
ininit()
.
2/2