View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
independent
Member
Join Date: Jan 2009
Location: Bulgaria, Sofia
Old 09-21-2009 , 06:24   Auto Restart In X Round
Reply With Quote #1

Description: restarts the game in round, out by cvar(after map changing/server start)
Servers, using the plugin: click here!
Modules: no.
Version: 0.3

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"
The color of the hud message via RGB? Look here for RGB colors.

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


Thanks to:

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
Attached Files
File Type: sma Get Plugin or Get Source (auto_res_in_x_round.sma - 7372 views - 7.5 KB)

Last edited by independent; 09-28-2009 at 15:40. Reason: 0.3 update
independent is offline