diff --git a/README.md b/README.md index 91d1d61b..e6a33897 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,6 @@ Including a records system, map zones (start/end marks etc), bonuses, HUD with u 7. Restart your server. # Required plugins: -`shavit-core` - compeletely required. -`shavit-zones` - compeletely required. +`shavit-core` - compeletely required. +`shavit-zones` - compeletely required. `shavit-wr` - required for `shavit-stats`, `shavit-replay` and `shavit-sounds`. diff --git a/scripting/shavit-chat.sp b/scripting/shavit-chat.sp index 174fef99..4283ed47 100644 --- a/scripting/shavit-chat.sp +++ b/scripting/shavit-chat.sp @@ -42,6 +42,15 @@ char gS_CustomName[MAXPLAYERS+1][128]; bool gB_MessageEnabled[MAXPLAYERS+1]; char gS_CustomMessage[MAXPLAYERS+1][16]; +public Plugin myinfo = +{ + name = "[shavit] Chat", + author = "shavit", + description = "Custom chat privileges (custom name and message colors).", + version = SHAVIT_VERSION, + url = "https://github.com/shavitush/bhoptimer" +} + public void OnPluginStart() { gEV_Type = GetEngineVersion(); diff --git a/scripting/shavit-core.sp b/scripting/shavit-core.sp index 0248ef84..f0695ab2 100644 --- a/scripting/shavit-core.sp +++ b/scripting/shavit-core.sp @@ -1054,7 +1054,7 @@ public int Native_PrintToChat(Handle handler, int numParams) if(hSayText2 != null) { - BfWriteByte(hSayText2, client); + BfWriteByte(hSayText2, 0); BfWriteByte(hSayText2, !gB_StopChatSound); BfWriteString(hSayText2, buffer); }