Game Events (Source)
Contents
- 1 Generic Source Events
- 1.1 team_info
- 1.2 team_score
- 1.3 player_team
- 1.4 player_class
- 1.5 player_death
- 1.6 player_hurt
- 1.7 player_chat
- 1.8 player_score
- 1.9 player_spawn
- 1.10 player_shoot
- 1.11 player_use
- 1.12 player_changename
- 1.13 game_newmap
- 1.14 game_start
- 1.15 game_end
- 1.16 round_start
- 1.17 round_end
- 1.18 game_message
- 1.19 break_breakable
- 1.20 break_prop
- 2 Generic Source Server Events
- 3 Counter-Strike: Source Events
- 3.1 player_death
- 3.2 player_hurt
- 3.3 bomb_beginplant
- 3.4 bomb_abortplant
- 3.5 bomb_plant
- 3.6 bomb_defused
- 3.7 bomb_exploded
- 3.8 bomb_dropped
- 3.9 bomb_pickup
- 3.10 bomb_begindefuse
- 3.11 bomb_abortdefuse
- 3.12 hostage_follows
- 3.13 hostage_hurt
- 3.14 hostage_killed
- 3.15 hostage_rescued
- 3.16 hostage_stops_following
- 3.17 hostage_rescued_all
- 3.18 hostage_call_for_help
- 3.19 vip_escaped
- 3.20 vip_killed
- 3.21 player_radio
- 3.22 bomb_beep
- 3.23 weapon_fire
- 3.24 weapon_fire_on_empty
- 3.25 weapon_reload
- 3.26 weapon_zoom
- 3.27 item_pickup
- 3.28 grenade_bounce
- 3.29 hegrenade_detonate
- 3.30 flashbang_detonate
- 3.31 smokegrenade_detonate
- 3.32 bullet_impact
- 3.33 player_footstep
- 3.34 player_jump
- 3.35 player_blind
- 3.36 player_falldamage
- 3.37 door_moving
- 3.38 round_freeze_end
- 3.39 nav_blocked
- 3.40 nav_generate
- 4 Day of Defeat: Source Events
- 4.1 player_death
- 4.2 player_hurt
- 4.3 player_changeclass
- 4.4 dod_round_start
- 4.5 dod_round_active
- 4.6 dod_hint
- 4.7 dod_warmup_begins
- 4.8 dod_warmup_ends
- 4.9 dod_round_start
- 4.10 dod_restart_round
- 4.11 dod_ready_restart
- 4.12 dod_allies_ready
- 4.13 dod_axis_ready
- 4.14 dod_round_restart_seconds
- 4.15 dod_team_scores
- 4.16 dod_point_captured
- 4.17 dod_capture_blocked
- 4.18 dod_round_win
- 4.19 dod_tick_points
- 4.20 dod_game_over
- 4.21 dod_broadcast_audio
- 4.22 dod_stats_weapon_attack
- 4.23 dod_stats_player_damage
- 4.24 dod_stats_player_killed
- 4.25 dod_win_panel
- 4.26 dod_timer_time_added
- 4.27 dod_timer_flash
- 4.28 dod_map_time_remaining
- 4.29 dod_tnt_pickup
- 4.30 dod_bomb_planted
- 4.31 dod_bomb_exploded
- 4.32 dod_bomb_defused
- 4.33 dod_kill_planter
- 4.34 dod_kill_defuser
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: |
|
Counter-Strike: Source Events
player_death
Note: When a client dies
Name: | player_death | ||||||||||||
Structure: |
|
player_hurt
Note: When a client is damaged
Name: | player_hurt | ||||||||||||||||||||||||
Structure: |
|
bomb_beginplant
Note: When the bomb is starting to get planted
Name: | bomb_beginplant | ||||||
Structure: |
|
bomb_abortplant
Note: When the bomb planter stops planting the bomb
Name: | bomb_abortplant | ||||||
Structure: |
|
bomb_plant
Note: When the bomb has been planted
Name: | bomb_planted | ||||||||||||
Structure: |
|
bomb_defused
Note: When the bomb has been defused
Name: | bomb_defused | ||||||
Structure: |
|
bomb_exploded
Note: When the bomb explodes
Name: | bomb_exploded | ||||||
Structure: |
|
bomb_dropped
Note: When the bomb is dropped by a client
Name: | bomb_dropped | |||
Structure: |
|
bomb_pickup
Note: When the bomb is picked up by a client
Name: | bomb_pickup | |||
Structure: |
|
bomb_begindefuse
Note: When the bomb is started to be defused
Name: | bomb_begindefuse | ||||||
Structure: |
|
bomb_abortdefuse
Note: When the bomb defusal is stopped
Name: | bomb_abortdefuse | |||
Structure: |
|
hostage_follows
Note: When the hostage begins following a client
Name: | hostage_follows | ||||||
Structure: |
|
hostage_hurt
Note: When a hostage is damaged
Name: | hostage_hurt | ||||||
Structure: |
|
hostage_killed
Note: When a hostage is killed
Name: | hostage_killed | ||||||
Structure: |
|
hostage_rescued
Note: When a hostage is rescued
Name: | hostage_rescued | |||||||||
Structure: |
|
hostage_stops_following
Note: When a hostage stops following a client
Name: | hostage_stops_following | ||||||
Structure: |
|
hostage_rescued_all
Note: When all the hostages are rescued
Name: | hostage_rescued_all | |||
Structure: |
|
hostage_call_for_help
Note: When the hostage calls for help
Name: | hostage_call_for_help | |||
Structure: |
|
vip_escaped
Note: When the VIP escapes
Name: | vip_escaped | |||
Structure: |
|
vip_killed
Note: When the VIP is killed
Name: | vip_killed | ||||||
Structure: |
|
player_radio
Note: When the player uses radio commands
Name: | player_radio | ||||||
Structure: |
|
bomb_beep
Note: Every time the bomb beep sound happens
Name: | bomb_beep | |||
Structure: |
|
weapon_fire
Note: Every time a client fires their weapon
Name: | weapon_fire | ||||||
Structure: |
|
weapon_fire_on_empty
Note: Every time a client fires their weapon and it's empty
Name: | weapon_fire_on_empty | ||||||
Structure: |
|
weapon_reload
Note: Every time a client reloads their weapon
Name: | weapon_reload | |||
Structure: |
|
weapon_zoom
Note: Every time a client zooms a scoped weapon
Name: | weapon_zoom | |||
Structure: |
|
item_pickup
Note: Every time an item is picked up (generally weapons)
Name: | item_pickup | ||||||
Structure: |
|
grenade_bounce
Note: Every time a grenade bounces
Name: | grenade_bounce | |||
Structure: |
|
hegrenade_detonate
Note: Every time a hegrenade explodes
Name: | hegrenade_detonate | |||
Structure: |
|
flashbang_detonate
Note: Every time a flashbang detonates
Name: | flashbang_detonate | |||
Structure: |
|
smokegrenade_detonate
Note: Every time a smokegrenade detonates
Name: | flashbang_detonate | |||
Structure: |
|
bullet_impact
Note: Every time a bullet hits something
Name: | bullet_impact | ||||||||||||
Structure: |
|
player_footstep
Note: Every time a player takes a step
Name: | player_footstep | |||
Structure: |
|
player_jump
Note: Every time a player jumps
Name: | player_jump | |||
Structure: |
|
player_blind
Note: Every time a player is blinded by a flashbang
Name: | player_blind | |||
Structure: |
|
player_falldamage
Note: Every time a player takes damage due to a fall
Name: | player_falldamage | ||||||
Structure: |
|
door_moving
Note: Every time a door is put in motion (opened)
Name: | door_moving | ||||||
Structure: |
|
round_freeze_end
Note: When the round's mp_freezetime is up
Name: | round_freeze_end | |||
Structure: |
|
Note: Guess: Called when an area is blocked by the nav of a map
Name: | nav_blocked | ||||||
Structure: |
|
Note: Called when a nav file does not exist for a map and bots are added
Name: | nav_generate | |||
Structure: |
|
Day of Defeat: Source Events
player_death
Note: When a player dies
Name: | player_death | |||||||||
Structure: |
|
player_hurt
Note: When a player is damaged
Name: | player_hurt | ||||||||||||||||||
Structure: |
|
player_changeclass
Note: When a player changes to a different class
Name: | player_changeclass | ||||||
Structure: |
|
dod_round_start
Note: When the round starts
Name: | dod_round_start | |
Structure: |
|
dod_round_active
Note: Unknown
Name: | dod_round_active | |
Structure: |
|
dod_hint
Note: When a hint occurs
Name: | dod_hint | |||
Structure: |
|
dod_warmup_begins
Note: When warmup begins
Name: | dod_warmup_begins | |
Structure: |
|
dod_warmup_ends
Note: When warmup ends
Name: | dod_warmup_ends | |
Structure: |
|
dod_round_start
Note: When round starts
Name: | dod_round_start | |
Structure: |
|
dod_restart_round
Note: When round restarts
Name: | dod_restart_round | |
Structure: |
|
dod_ready_restart
Note: When the ready players trigger restart
Name: | dod_ready_restart | |
Structure: |
|
dod_allies_ready
Note: When allies are ready
Name: | dod_allies_ready | |
Structure: |
|
dod_axis_ready
Note: When axis are ready
Name: | dod_axis_ready | |
Structure: |
|
dod_round_restart_seconds
Note: When round restart is set
Name: | dod_round_restart_seconds | |||
Structure: |
|
dod_team_scores
Note: When a team scores (wins)
Name: | dod_team_scores | ||||||||||||||||||
Structure: |
|
dod_point_captured
Note: When a flag/point is captured
Name: | dod_point_captured | ||||||||||||
Structure: |
|
dod_capture_blocked
Note: When a capture is blocked
Name: | dod_capture_blocked | |||||||||
Structure: |
|
dod_round_win
Note: When a round is won
Name: | dod_round_win | |||
Structure: |
|
dod_tick_points
Note: Unknown
Name: | dod_tick_points | |||||||||
Structure: |
|
dod_game_over
Note: When the map ends
Name: | dod_game_over | |||
Structure: |
|
dod_broadcast_audio
Note: When audio is broadcasted
Name: | dod_broadcast_audio | |||
Structure: |
|
dod_stats_weapon_attack
Note: When a player attacks with a weapon
Name: | dod_stats_weapon_attack | ||||||
Structure: |
|
dod_stats_player_damage
Note: When a player damages another
Name: | dod_stats_player_damage | |||||||||||||||||||||
Structure: |
|
dod_stats_player_killed
Note: When a player kills another
Name: | dod_stats_player_killed | |||||||||
Structure: |
|
dod_win_panel
Note: When the scoreboard is shown after map end
Name: | dod_win_panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Structure: |
|
dod_timer_time_added
Note: When time is added (in bombing maps)
Name: | dod_timer_time_added | |||
Structure: |
|
dod_timer_flash
Note: Unknown
Name: | dod_timer_flash | |||
Structure: |
|
dod_map_time_remaining
Note: Time remaining on map
Name: | dod_map_time_remaining | |||
Structure: |
|
dod_tnt_pickup
Note: When TNT is picked up
Name: | dod_tnt_pickup | |
Structure: |
|
dod_bomb_planted
Note: When TNT is placed on an objective
Name: | dod_bomb_planted | ||||||||||||
Structure: |
|
dod_bomb_exploded
Note: When TNT explodes
Name: | dod_bomb_exploded | |||||||||
Structure: |
|
dod_bomb_defused
Note: When TNT is defused
Name: | dod_bomb_defused | ||||||||||||
Structure: |
|
dod_kill_planter
Note: When the planter of TNT is killed
Name: | dod_kill_planter | ||||||
Structure: |
|
dod_kill_defuser
Note: When the defuser of TNT is killed
Name: | dod_kill_defuser | ||||||
Structure: |
|