Skip to content

Commit 38051b2

Browse files
committed
HudMsg changes
Updated the data for HudMsg (the prior version wouldn't display) Changed some of the argument names
1 parent 8a06089 commit 38051b2

File tree

1 file changed

+10
-10
lines changed
  • addons/source-python/data/source-python/messages/games

1 file changed

+10
-10
lines changed

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

+10-10
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ MESSAGE_CLASS = "cstrike.vguimenu", "VGUIMenu"
5454
#=============================================================================
5555
[HudMsg]
5656
#=============================================================================
57-
REQUIRED_PARAMETERS = "channel", "x", "y", "red", "green", "blue", "alpha", "effect", "fadein", "fadeout", "hold", "time", "message"
57+
REQUIRED_PARAMETERS = "channel", "x", "y", "r1", "g1", "b1", "a1", "r2", "g2", "b2", "a2", "effect", "fadein", "fadeout", "hold", "fxtime", "message"
5858

5959
[[channel]]
6060
default_value = "0"
@@ -68,35 +68,35 @@ type = "float"
6868
default_value = "0"
6969
type = "float"
7070

71-
[[red]]
71+
[[r1]]
7272
default_value = "0"
7373
type = "byte"
7474

75-
[[green]]
75+
[[g1]]
7676
default_value = "0"
7777
type = "byte"
7878

79-
[[blue]]
79+
[[b1]]
8080
default_value = "0"
8181
type = "byte"
8282

83-
[[alpha]]
83+
[[a1]]
8484
default_value = "0"
8585
type = "byte"
8686

87-
[[red2]]
87+
[[r2]]
8888
default_value = "255"
8989
type = "byte"
9090

91-
[[green2]]
91+
[[g2]]
9292
default_value = "255"
9393
type = "byte"
9494

95-
[[blue2]]
95+
[[b2]]
9696
default_value = "255"
9797
type = "byte"
9898

99-
[[alpha2]]
99+
[[a2]]
100100
default_value = "0"
101101
type = "byte"
102102

@@ -116,7 +116,7 @@ type = "float"
116116
default_value = "0"
117117
type = "float"
118118

119-
[[time]]
119+
[[fxtime]]
120120
default_value = "0"
121121
type = "float"
122122

0 commit comments

Comments
 (0)