Game Events (Source)
Contents
- 1 Game Events
- 2 Generic Source Events
- 2.1 team_info
- 2.2 team_score
- 2.3 player_team
- 2.4 player_class
- 2.5 player_death
- 2.6 player_hurt
- 2.7 player_chat
- 2.8 player_score
- 2.9 player_spawn
- 2.10 player_shoot
- 2.11 player_use
- 2.12 player_changename
- 2.13 game_newmap
- 2.14 game_start
- 2.15 game_end
- 2.16 round_start
- 2.17 round_end
- 2.18 game_message
- 2.19 break_breakable
- 2.20 break_prop
- 3 Generic Source Server Events
Game Events
These are all the games that the Source engine covers.
- Counter-Strike: Source Events
- Day of Defeat: Source Events
- Dystopia Events
- Pirates, Vikings, Knights II Events
- SourceForts Events
- Hidden: Source Events
- Perfect Dark: Source Events
Generic 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: |
|
player_spawn
Note: player spawned in game
Name: | player_spawn | |||
Structure: |
|
player_shoot
Note: Player shoot his weapon
Name: | player_shoot | |||||||||
Structure: |
|
player_use
Note: When a player uses an option
Name: | player_use | ||||||
Structure: |
|
player_changename
Note: Player changed name
Name: | player_changename | |||||||||
Structure: |
|
game_newmap
Note: Send when new map is completely loaded
Name: | game_newmap | |||
Structure: |
|
game_start
Note: A new game starts
Name: | game_start | ||||||||||||
Structure: |
|
game_end
Note: A game ended
Name: | game_end | |||
Structure: |
|
round_start
Note: The round started
Name: | player_changename | |||||||||
Structure: |
|
round_end
Note: The round ended
Name: | round_end | |||||||||
Structure: |
|
game_message
Note: A game message
Name: | game_message | ||||||
Structure: |
|
break_breakable
Note: A breakable (func_break) is broken.
Name: | break_breakable | |||||||||
Structure: |
|
break_prop
Note: A breakable prop is broken.
Name: | break_prop | ||||||
Structure: |
|
Generic Source 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: |
|
player_activate
Note: A client has entered the game (connected and loaded)
Name: | player_activate | |||
Structure: |
|
player_say
Note: When a client sends a message in chat
Name: | player_say | ||||||
Structure: |
|