zio fork 1.8.2b-zio5: staff chat shows rank
@ in team chat and css_asay read ">[STAFF][RANK] name: message", and @ in all chat and a player's css_say read ">[RANK] name: message", with the rank from the sender's highest #rank/... group (O, SA, A, TA, M, TM, H). Staff in no rank group get ">[STAFF] name" and "> name". A non-staff player's @ team chat reads ">[PLAYER] name: message". Console's messages are unchanged. The lines are new en.json keys: sa_staffchat_template, sa_staffsay_template, their _norank variants and sa_staffchat_template_player.
This commit is contained in:
parent
bc6e32892d
commit
3c9f65e121
6 changed files with 69 additions and 7 deletions
|
|
@ -22,7 +22,7 @@ public partial class CS2_SimpleAdmin : BasePlugin, IPluginConfig<CS2_SimpleAdmin
|
|||
public override string ModuleName => "CS2-SimpleAdmin" + (Helper.IsDebugBuild ? " (DEBUG)" : " (RELEASE)");
|
||||
public override string ModuleDescription => "Simple admin plugin for Counter-Strike 2 :)";
|
||||
public override string ModuleAuthor => "daffyy";
|
||||
public override string ModuleVersion => "1.8.2b-zio4";
|
||||
public override string ModuleVersion => "1.8.2b-zio5";
|
||||
|
||||
public override void Load(bool hotReload)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue