Timeleft in Hostname

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Timeleft in Hostname

Post 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
Post Reply

Return to “General Purpose”