Skip to content

Commit b8f4ad8

Browse files
committed
update {USERID} tag from userid to slot
1 parent 7720a3c commit b8f4ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CustomCommands/Services/ReplaceTagsFunction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public string ReplaceMessageTags(string input, CCSPlayerController player)
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>"},
75+
{"{USERID}", player.Slot.ToString() ?? "<USERID not found>"},
7676
{"{STEAMID2}", steamId.SteamId2 ?? "<STEAMID2 not found>"},
7777
{"{STEAMID3}", steamId.SteamId3 ?? "<STEAMID3 not found>"},
7878
{"{STEAMID32}", steamId.SteamId32.ToString() ?? "<STEAMID32 not found>"},

0 commit comments

Comments
 (0)