rbreslow / speak

A full featured chatbox addon for Garry's Mod.
GNU Affero General Public License v3.0
4 stars 0 forks source link

Remove server side chat tags #26

Closed rbreslow closed 4 years ago

rbreslow commented 4 years ago

Overview

Testing

See that the speak_version ConVar is proper:

$ ./scripts/console
speak_version
"speak_version" = "92f6813"
 game notify singleplayer replicated lua_server

Add a new tag with your SteamID64:

$ git diff
diff --git a/src/speak/lua/speak/config/cl_tags.lua b/src/speak/lua/speak/config/cl_tags.lua
index 84c4cd2..177507d 100644
--- a/src/speak/lua/speak/config/cl_tags.lua
+++ b/src/speak/lua/speak/config/cl_tags.lua
@@ -17,3 +17,7 @@ speak.tags:DefineForUserGroup("admin", {
 speak.tags:DefineForSteamID64(76561197960279927, {
     COLOR_MAGENTA, "(VIP)"
 })
+
+speak.tags:DefineForSteamID64(..., {
+    COLOR_MAGENTA, "(VIP)"
+})

See that the tag works in-game.

image