Page 1 of 1

Auto Restart In X Round

Posted: Mon Nov 22, 2021 9:28 pm
by greenie
CVARS:

amx_restart_round "2"
In which round, the game restarts?

amx_restart_time "10.0"
How many seconds after roundstart the game will restart(in the round, which you selected)? It have to be a Float.


amx_restart_notice "3"
How to notice the players for the restart?
0: no notice
1: via chat message
2: via hud message
3: via chat and hud message

amx_restart_message "That's the %round% round!Restarting..."
What to be the chat message?

You can use %round% for the number of the round.

amx_restart_message_color "4"
The color of the chat message?

1: green
2: red
3: grey
4: blue
5: normal(con_color)
6: team color

amx_restart_hud "%seconds% seconds until restart!"
What to be the hud message?
You can use:

%round% - for the number of the round
%seconds - seconds remaining(it's a timer - 10, 9, 8 etc).
/n - for new line.

amx_restart_hud_color "0 255 0"


amx_restart_sound "1"
Vox sounds in the counting(for remaining seconds until restart)?


Thanks to:
Val4o0o0@amxmodxbg.org
for the idea

Changelog:
0.1
First version.
0.2
Added 3 cvars.
amx_restart_notice
amx_restart_hud
amx_restart_hud_color
0.3
Added 1 cvar.
amx_restart_sound

plugin
source