plugins/include/console.inc
changeset 2648 dbcc58361ada
parent 2400 76b7b4575e21
child 2684 a802f5cebe28
     1.1 --- a/plugins/include/console.inc	Tue Mar 03 09:41:55 2009 -0500
     1.2 +++ b/plugins/include/console.inc	Thu Mar 05 11:59:49 2009 +1300
     1.3 @@ -815,3 +815,23 @@
     1.4   * @error 				Invalid client index, client not in game, or client is fake
     1.5   */
     1.6  native bool:SendConVarValue(client, Handle:convar, const String:value[]);
     1.7 +
     1.8 +/**
     1.9 + * Appends a string to Valve's sv_tags convar and makes sure it remains after mapchanges.
    1.10 + *
    1.11 + * Note: Tags are automatically removed on plugin unload
    1.12 + *
    1.13 + * @param tag			Tag string to append.
    1.14 + * @noreturn
    1.15 + */
    1.16 +native AddServerTag(const String:tag[]);
    1.17 +
    1.18 +/**
    1.19 + * Removes a string from valve's sv_tags convar.
    1.20 + *
    1.21 + * Note: You can only remove tags created by you.
    1.22 + *
    1.23 + * @param tag			Tag string to remove.
    1.24 + * @noreturn
    1.25 + */
    1.26 +native RemoveServerTag(const String:tag[]);