File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,15 @@ public string ReplaceLanguageTags(string input)
6464 public string ReplaceMessageTags ( string input , CCSPlayerController player )
6565 {
6666 SteamID steamId = new SteamID ( player . SteamID ) ;
67-
67+
6868 Dictionary < string , string > replacements = new ( )
6969 {
7070 { "{PREFIX}" , PluginGlobals . Config . Prefix ?? "<PREFIX not found>" } ,
7171 { "{MAP}" , NativeAPI . GetMapName ( ) ?? "<MAP not found>" } ,
7272 { "{TIME}" , DateTime . Now . ToString ( "HH:mm:ss" ) ?? "<TIME not found>" } ,
7373 { "{DATE}" , DateTime . Now . ToString ( "dd.MM.yyyy" ) ?? "<DATE not found>" } ,
7474 { "{PLAYERNAME}" , player . PlayerName ?? "<PLAYERNAME not found>" } ,
75+ { "{USERID}" , player . UserId . ToString ( ) ?? "<USERID not found>" } ,
7576 { "{STEAMID2}" , steamId . SteamId2 ?? "<STEAMID2 not found>" } ,
7677 { "{STEAMID3}" , steamId . SteamId3 ?? "<STEAMID3 not found>" } ,
7778 { "{STEAMID32}" , steamId . SteamId32 . ToString ( ) ?? "<STEAMID32 not found>" } ,
You can’t perform that action at this time.
0 commit comments