Question Is there any way to display right before "game_ended"

Aspire

Known Member
Messages
31
Reaction score
14
Points
118
I want to display some text right before the game ends. For example my text should be displayed for like 5 seconds when every player in zombies dies. (it should wait unitl my text is gone and then end the game)
 

JayCoder

Veteran
Staff member
Messages
369
Reaction score
152
Points
903
I want to display some text right before the game ends. For example my text should be displayed for like 5 seconds when every player in zombies dies. (it should wait unitl my text is gone and then end the game)
so like a credits script after text is displayed endgame

so like?

function init()
{
end_game_mod();
}
function end_game_mod()
{
self waittill("game_ended");
self iprintlnbold("^1You All Are Hoes?");
}

the message wouldn't be displayed till the game ends
 

Aspire

Known Member
Messages
31
Reaction score
14
Points
118
so like a credits script after text is displayed endgame

so like?

function init()
{
end_game_mod();
}
function end_game_mod()
{
self waittill("game_ended");
self iprintlnbold("^1You All Are Hoes?");
}

the message wouldn't be displayed till the game ends
Code:
level waittill("game_ended");
The game ends before my credits start :/
 

Joker

Veteran
Messages
52
Reaction score
24
Points
793
i only want to end the game to end when it would really end. And what do you mean? add wait 20?
Code:
self wait 20;
level waittill("game_ended");
This wouldn't change anything and where's to point for making a script to end the game when the game would end anyways
Not like that, That is only waiting to waittill game_ended...
 
Top