Difference between revisions of "Game Events (Source)"
(→Counter-Strike: Source Events) |
(→Half-Life 2 Server Events) |
||
Line 54: | Line 54: | ||
{{hl2msg|string|ip}} | {{hl2msg|string|ip}} | ||
{{hl2msg|stsring|by}} | {{hl2msg|stsring|by}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_connect === | ||
+ | {{qnotice|A new player connected}} | ||
+ | {{begin-hl2msg|player_connect|string}} | ||
+ | {{hl2msg|string|name}} | ||
+ | {{hl2msg|byte|index}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|string|networkid}} | ||
+ | {{hl2msg|string|address}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_info === | ||
+ | {{qnotice|A player changed his name}} | ||
+ | {{begin-hl2msg|player_info|string}} | ||
+ | {{hl2msg|string|name}} | ||
+ | {{hl2msg|byte|index}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|string|networkid}} | ||
+ | {{hl2msg|bool|bot}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_disconnect === | ||
+ | {{qnotice|A client was disconnected}} | ||
+ | {{begin-hl2msg|player_disconnect|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|string|reason}} | ||
+ | {{hl2msg|string|name}} | ||
+ | {{hl2msg|string|networkid}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
Revision as of 22:59, 7 June 2007
Half-Life 2 Events
Half-Life 2 Server Events
server_spawn
Note: Send once a server starts
Name: | server_start | |||||||||||||||||||||||||||
Structure: |
|
server_shutdown
Note: Server shut down
Name: | server_shutdown | |||
Structure: |
|
server_cvar
Note: A server console var has changed
Name: | server_cvar | ||||||
Structure: |
|
server_msg
Note: A generic server message
Name: | server_message | |||
Structure: |
|
server_addban
Note: When the server has a ban added
Name: | server_addban | |||||||||||||||||||||
Structure: |
|
server_removeban
Note: When the server has a ban removed
Name: | server_removeban | |||||||||
Structure: |
|
player_connect
Note: A new player connected
Name: | player_connect | |||||||||||||||
Structure: |
|
player_info
Note: A player changed his name
Name: | player_info | |||||||||||||||
Structure: |
|
player_disconnect
Note: A client was disconnected
Name: | player_disconnect | ||||||||||||
Structure: |
|
Counter-Strike: Source Events
team_info
Note: Info about team
Name: | team_info | ||||||
Structure: |
|
team_score
Note: Team score changed
Name: | team_info | ||||||
Structure: |
|
player_team
Note: Player change his team
Name: | player_team | ||||||||||||
Structure: |
|
player_class
Note: A player changed his class
Name: | player_class | ||||||
Structure: |
|
player_death
Note: A game event, name may be 32 charaters long
Name: | player_death | ||||||
Structure: |
|
player_hurt
Note: A player was hurt
Name: | player_hurt | |||||||||
Structure: |
|
player_chat
Note: A public player chat
Name: | player_chat | |||||||||
Structure: |
|
player_score
Note: Players scores changed
Name: | player_score | ||||||||||||
Structure: |
|
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}