Skip to content

Commit 971dcde

Browse files
committed
Fixed TextMsg data for CSGO.
1 parent fb0db9a commit 971dcde

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: addons/source-python/data/source-python/messages/games/csgo.ini

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ field_name = "subkeys"
9999
field_name = "msg_dst"
100100

101101
[[message]]
102+
field_name = "msg_name"
103+
104+
[[parameters]]
102105
field_name = "params"
103106

104107

Diff for: addons/source-python/data/source-python/messages/usermessages.ini

+7-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ types = "string", "string"
128128
#=============================================================================
129129
[TextMsg]
130130
#=============================================================================
131-
REQUIRED_PARAMETERS = "destination", "message"
131+
REQUIRED_PARAMETERS = "destination", "message", "parameters"
132132

133133
# The message destinations defined into "shareddefs.h".
134134
HUD_PRINTNOTIFY = "1"
@@ -144,6 +144,11 @@ type = "byte"
144144
default_value = ""
145145
type = "string"
146146

147+
[[parameters]]
148+
default_values = "", "", "", ""
149+
length = "4"
150+
types = "string", "string", "string", "string"
151+
147152

148153
#=============================================================================
149154
[KeyHintText]
@@ -183,4 +188,4 @@ default_value = "0"
183188
type = "short"
184189

185190
[[color]]
186-
type = "color"
191+
type = "color"

0 commit comments

Comments
 (0)