Page 1 of 1

Timeleft in Hostname

Posted: Mon Nov 22, 2021 10:42 am
by greenie
Description: Adds the remaining time in h:m:s format to the host name (updated every second).

CVAR: amx_hostname_update - How often the hostname is updated, in seconds. (0 = disabled)
Note: Changing this cvar during the game won't take effect until map change.

Authors: Deviance (aka Doombringer) and me.

Credits: Original plugin "Timeleft Hostname" by Cheap_Suit. The plugin archive can be found here. The original thread (without the plugin) can be found here.

Note on pcvars: There's no pcvar function for setting strings, so I'm using the conventional way to set it.

plugin
source