No Translation
Home
Steam Group
Discord
Bans/Mutes
Players Statistics
Rank Distribution
Rules / Info
Counter-Strike 2
Demo Archive

CS2 Game Events

Game Events

All the game events parsed from:

  • csgo/pak01_dir.vpk/resource/game.gameevents
  • csgo/pak01_dir.vpk/resource/mod.gameevents

List

team_info

Note: Info about team
byteteamidunique team id
stringteamnameteam name eg "Team Blue"

team_score

Note: Team score changed
byteteamidteam id
shortscoretotal team score

teamplay_broadcast_audio

Note: Emits a sound to everyone on a team
byteteamunique team id
stringsoundname of the sound to emit

gameui_hidden

items_gifted

player_controllerplayerentity used by player
longitemdef
shortnumgifts
longgiftidx
longaccountid

player_team

Note: Player change his team
player_controller_and_pawnuseridplayer
byteteamteam id
byteoldteamold team id
booldisconnectteam change because player disconnects
boolsilent
boolisbottrue if player is a bot

player_hurt

player_controller_and_pawnuseridplayer index who was hurt
player_controller_and_pawnattackerplayer index who attacked
bytehealthremaining health points
bytearmorremaining armor points
stringweaponweapon name attacker used, if not the world
shortdmg_healthdamage done to health
bytedmg_armordamage done to armor
bytehitgrouphitgroup that was damaged

player_chat

Note: A public player chat
boolteamonlytrue if team only chat
shortuseridchatting player
stringtextchat text

player_score

Note: Players scores changed
player_controlleruseriduser ID on server
shortkills# of kills
shortdeaths# of deaths
shortscoretotal game score

player_spawn

Note: Player spawned in game
player_controller_and_pawnuserid

player_shoot

Note: Player shoot his weapon
player_controller_and_pawnuseriduser ID on server
byteweaponweapon ID
bytemodeweapon mode

player_changename

player_controlleruseriduser ID on server
stringoldnameplayers old (current) name
stringnewnameplayers new name

player_hintmessage

stringhintmessagelocalizable string of a hint

game_init

Note: Sent when a new game is started

game_newmap

Note: Send when new map is completely loaded
stringmapnamemap name

game_start

Note: A new game starts
longroundslimitmax round
longtimelimittime limit
longfraglimitfrag limit
stringobjectiveround objective

game_end

Note: A game ended
bytewinnerwinner team/user id

round_start

longtimelimitround time limit in seconds
longfraglimitfrag limit in seconds
stringobjectiveround objective

round_announce_match_point

round_announce_final

round_announce_last_round_half

round_announce_match_start

round_announce_warmup

round_end

bytewinnerwinner team/user i
bytereasonreson why team won
stringmessageend round message
bytelegacyserver-generated legacy value
shortplayer_counttotal number of players alive at the end of round, used for statistics gathering, computed on the server in the event client is in replay when receiving this message
bytenomusicif set, don't play round end music, because action is still on-going

round_end_upload_stats

round_officially_ended

round_time_warning

ugc_map_info_received

uint64published_file_id

ugc_map_unsubscribed

uint64published_file_id

ugc_map_download_error

uint64published_file_id
longerror_code

ugc_file_download_finished

uint64hcontentid of this specific content (may be image or map)

ugc_file_download_start

uint64hcontentid of this specific content (may be image or map)
uint64published_file_idid of the associated content package

begin_new_match

Note: Fired when a match ends or is restarted

round_start_pre_entity

teamplay_round_start

Note: Round restart
boolfull_resetis this a full reset of the map

hostname_changed

stringhostname

difficulty_changed

shortnewDifficulty
shortoldDifficulty
stringstrDifficultynew difficulty as string

finale_start

shortrushes

game_message

Note: A message send by game logic to everyone
bytetarget0 = console, 1 = HUD
stringtextthe message text

dm_bonus_weapon_start

shorttimeThe length of time that this bonus lasts
shortPosLoadout position of the bonus weapon

survival_announce_phase

shortphaseThe phase #

break_breakable

longentindex
player_pawnuserid
bytematerialBREAK_GLASS, BREAK_WOOD, etc

broken_breakable

longentindex
player_pawnuserid
bytematerialBREAK_GLASS, BREAK_WOOD, etc

break_prop

longentindex
player_pawnuserid

player_decal

player_pawnuserid

entity_killed

longentindex_killed
longentindex_attacker
longentindex_inflictor
longdamagebits

bonus_updated

shortnumadvanced
shortnumbronze
shortnumsilver
shortnumgold

player_stats_updated

boolforceupload

achievement_event

stringachievement_namenon-localized name of achievement
shortcur_val# of steps toward achievement
shortmax_valtotal # of steps in achievement

achievement_increment

Note: Sent whenever an achievement that's tracked on the HUD increases
longachievement_idID of achievement that went up
shortcur_val# of steps toward achievement
shortmax_valtotal # of steps in achievement

achievement_earned

player_controllerplayerentindex of the player
shortachievementachievement ID

achievement_write_failed

Note: Used for a notification message when an achievement fails to write

physgun_pickup

ehandletargetentity picked up

flare_ignite_npc

longentindexentity ignited

helicopter_grenade_punt_miss

user_data_downloaded

Note: Fired when achievements/stats are downloaded from Steam or XBox Live

ragdoll_dissolved

longentindex

gameinstructor_draw

gameinstructor_nodraw

map_transition

entity_visible

player_controlleruseridThe player who sees the entity
shortsubjectEntindex of the entity they see
stringclassnameClassname of the entity they see
stringentitynamename of the entity they see

set_instructor_group_enabled

stringgroup
shortenabled

instructor_server_hint_create

Note: Create a hint using data supplied entirely by the server/map. Intended for hints to smooth playtests before content is ready to make the hint unneccessary. NOT INTENDED AS A SHIPPABLE CRUTCH
player_controlleruseriduser ID of the player that triggered the hint
stringhint_namewhat to name the hint. For referencing it again later (e.g. a kill command for the hint instead of a timeout)
stringhint_replace_keytype name so that messages of the same type will replace each other
longhint_targetentity id that the hint should display at
player_controllerhint_activator_useriduserid id of the activator
shorthint_timeouthow long in seconds until the hint automatically times out, 0 = never
stringhint_icon_onscreenthe hint icon to use when the hint is onscreen. e.g. "icon_alert_red"
stringhint_icon_offscreenthe hint icon to use when the hint is offscreen. e.g. "icon_alert"
stringhint_captionthe hint caption. e.g. "#ThisIsDangerous"
stringhint_activator_captionthe hint caption that only the activator sees e.g. "#YouPushedItGood"
stringhint_colorthe hint color in "r,g,b" format where each component is 0-255
floathint_icon_offsethow far on the z axis to offset the hint from entity origin
floathint_rangerange before the hint is culled
longhint_flagshint flags
stringhint_bindingbindings to use when use_binding is the onscreen icon
stringhint_gamepad_bindinggamepad bindings to use when use_binding is the onscreen icon
boolhint_allow_nodraw_targetif false, the hint will dissappear if the target entity is invisible
boolhint_nooffscreenif true, the hint will not show when outside the player view
boolhint_forcecaptionif true, the hint caption will show even if the hint is occluded
boolhint_local_player_onlyif true, only the local player will see the hint

instructor_server_hint_stop

Note: Destroys a server/map created hint
stringhint_nameThe hint to stop. Will stop ALL hints with this name

read_game_titledata

Note: Read user titledata from profile
shortcontrollerIdController id of user

write_game_titledata

Note: Write user titledata in profile
shortcontrollerIdController id of user

reset_game_titledata

Note: Reset user titledata; do not automatically write profile
shortcontrollerIdController id of user

weaponhud_selection

player_controller_and_pawnuseridPlayer who this event applies to
bytemodeEWeaponHudSelectionMode (switch / pickup / drop)
longentindexWeapon entity index

vote_ended

vote_started

stringissue
stringparam1
byteteam
longinitiatorentity id of the player who initiated the vote

vote_changed

bytevote_option1
bytevote_option2
bytevote_option3
bytevote_option4
bytevote_option5
bytepotentialVotes

vote_passed

stringdetails
stringparam1
byteteam

vote_failed

byteteam

vote_cast

bytevote_optionwhich option the player voted on
shortteam
player_controlleruseridplayer who voted

vote_options

bytecountNumber of options - up to MAX_VOTE_OPTIONS
stringoption1
stringoption2
stringoption3
stringoption4
stringoption5

endmatch_mapvote_selecting_map

bytecountNumber of "ties"
byteslot1
byteslot2
byteslot3
byteslot4
byteslot5
byteslot6
byteslot7
byteslot8
byteslot9
byteslot10

endmatch_cmm_start_reveal_items

inventory_updated

cart_updated

store_pricesheet_updated

gc_connected

item_schema_initialized

client_loadout_changed

add_player_sonar_icon

player_controlleruserid
floatpos_x
floatpos_y
floatpos_z

add_bullet_hit_marker

player_controlleruserid
shortbone
shortpos_x
shortpos_y
shortpos_z
shortang_x
shortang_y
shortang_z
shortstart_x
shortstart_y
shortstart_z
boolhit

player_death

Note: A game event, name may be 32 characters long
player_controller_and_pawnuseriduser who died
player_controller_and_pawnattackerplayer who killed
player_controller_and_pawnassisterplayer who assisted in the kill
boolassistedflashassister helped with a flash
stringweaponweapon name killer used
stringweapon_itemidinventory item id of weapon killer used
stringweapon_fauxitemidfaux item id of weapon killer used
stringweapon_originalowner_xuid
boolheadshotsingals a headshot
shortdominateddid killer dominate victim with this kill
shortrevengedid killer get revenge on victim with this kill
shortwipeis the kill resulting in squad wipe
shortpenetratednumber of objects shot penetrated before killing target
boolnoreplayif replay data is unavailable, this will be present and set to false
boolnoscopekill happened without a scope, used for death notice icon
boolthrusmokehitscan weapon went through smoke grenade
boolattackerblindattacker was blind from flashbang
floatdistancedistance to victim in meters

other_death

shortotheridother entity ID who died
stringothertypeother entity type
shortattackeruser ID who killed
stringweaponweapon name killer used
stringweapon_itemidinventory item id of weapon killer used
stringweapon_fauxitemidfaux item id of weapon killer used
stringweapon_originalowner_xuid
boolheadshotsingals a headshot
shortpenetratednumber of objects shot penetrated before killing target
boolnoscopekill happened without a scope, used for death notice icon
boolthrusmokehitscan weapon went through smoke grenade
boolattackerblindattacker was blind from flashbang

item_purchase

player_controlleruserid
shortteam
shortloadout
stringweapon

bomb_beginplant

player_controller_and_pawnuseridplayer who is planting the bomb
shortsitebombsite index

bomb_abortplant

player_controller_and_pawnuseridplayer who is planting the bomb
shortsitebombsite index

bomb_planted

player_controller_and_pawnuseridplayer who planted the bomb
shortsitebombsite index

bomb_defused

player_controller_and_pawnuseridplayer who defused the bomb
shortsitebombsite index

bomb_exploded

player_controller_and_pawnuseridplayer who planted the bomb
shortsitebombsite index

bomb_dropped

player_controller_and_pawnuseridplayer who dropped the bomb
longentindex

bomb_pickup

player_pawnuseridplayer pawn who picked up the bomb

defuser_dropped

longentityiddefuser's entity ID

defuser_pickup

longentityiddefuser's entity ID
player_controller_and_pawnuseridplayer who picked up the defuser

announce_phase_end

cs_intermission

bomb_begindefuse

player_controller_and_pawnuseridplayer who is defusing
boolhaskit

bomb_abortdefuse

player_controller_and_pawnuseridplayer who was defusing

hostage_follows

player_controller_and_pawnuseridplayer who touched the hostage
shorthostagehostage entity index

hostage_hurt

player_controller_and_pawnuseridplayer who hurt the hostage
shorthostagehostage entity index

hostage_killed

player_controller_and_pawnuseridplayer who killed the hostage
shorthostagehostage entity index

hostage_rescued

player_controller_and_pawnuseridplayer who rescued the hostage
shorthostagehostage entity index
shortsiterescue site index

hostage_stops_following

player_controller_and_pawnuseridplayer who rescued the hostage
shorthostagehostage entity index

hostage_rescued_all

hostage_call_for_help

shorthostagehostage entity index

vip_escaped

player_controlleruseridplayer who was the VIP

vip_killed

player_controlleruseridplayer who was the VIP
player_controllerattackeruser ID who killed the VIP

player_radio

player_controller_and_pawnuserid
shortslot

bomb_beep

longentindexc4 entity

weapon_fire

player_controller_and_pawnuserid
stringweaponweapon name used
boolsilencedis weapon silenced

weapon_fire_on_empty

player_controller_and_pawnuserid
stringweaponweapon name used

grenade_thrown

player_controller_and_pawnuserid
stringweaponweapon name used

weapon_outofammo

player_controller_and_pawnuserid

weapon_reload

player_controller_and_pawnuserid

weapon_zoom

player_controller_and_pawnuserid

silencer_detach

player_controller_and_pawnuserid

inspect_weapon

player_controller_and_pawnuserid

weapon_zoom_rifle

Note: Exists for the game instructor to let it know when the player zoomed in with a regular rifle. Different from the above weapon_zoom because we don't use this event to notify bots
player_controller_and_pawnuserid

player_spawned

player_controller_and_pawnuserid
boolinrestarttrue if restart is pending

item_pickup

player_controlleruserid
stringitemeither a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'
boolsilent
longdefindex

item_pickup_slerp

player_controlleruserid
shortindex
shortbehavior

item_pickup_failed

player_controlleruserid
stringitem
shortreason
shortlimit

item_remove

player_controlleruserid
stringitemeither a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'
longdefindex

ammo_pickup

player_controlleruserid
stringitemeither a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'
longindexthe weapon entindex

item_equip

player_controlleruserid
stringitemeither a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'
longdefindex
boolcanzoom
boolhassilencer
boolissilenced
boolhastracers
shortweptype
boolispainted

enter_buyzone

player_controlleruserid
boolcanbuy

exit_buyzone

player_controlleruserid
boolcanbuy

buytime_ended

enter_bombzone

player_controlleruserid
boolhasbomb
boolisplanted

exit_bombzone

player_controlleruserid
boolhasbomb
boolisplanted

enter_rescue_zone

player_controlleruserid

exit_rescue_zone

player_controlleruserid

silencer_off

player_controlleruserid

silencer_on

player_controlleruserid

buymenu_open

player_controlleruserid

buymenu_close

player_controlleruserid

round_prestart

Note: Sent before all other round restart actions

round_poststart

Note: Sent after all other round restart actions

grenade_bounce

player_controller_and_pawnuserid

hegrenade_detonate

player_controller_and_pawnuserid
shortentityid
floatx
floaty
floatz

flashbang_detonate

player_controller_and_pawnuserid
shortentityid
floatx
floaty
floatz

smokegrenade_detonate

player_controller_and_pawnuserid
shortentityid
floatx
floaty
floatz

smokegrenade_expired

player_controller_and_pawnuserid
shortentityid
floatx
floaty
floatz

molotov_detonate

player_controller_and_pawnuserid
floatx
floaty
floatz

decoy_detonate

player_controller_and_pawnuserid
shortentityid
floatx
floaty
floatz

decoy_started

player_pawnuserid
shortentityid
floatx
floaty
floatz

tagrenade_detonate

player_controlleruserid
shortentityid
floatx
floaty
floatz

inferno_startburn

shortentityid
floatx
floaty
floatz

inferno_expire

shortentityid
floatx
floaty
floatz

inferno_extinguish

shortentityid
floatx
floaty
floatz

decoy_firing

player_controller_and_pawnuserid
shortentityid
floatx
floaty
floatz

bullet_impact

player_controller_and_pawnuserid
floatx
floaty
floatz

player_footstep

player_controller_and_pawnuserid

player_jump

player_controlleruserid

player_blind

player_controlleruserid
player_controllerattackeruser ID who threw the flash
shortentityidthe flashbang going off
floatblind_duration

player_falldamage

player_controller_and_pawnuserid
floatdamage

door_moving

player_controller_and_pawnuserid
longentindex

round_freeze_end

mb_input_lock_success

mb_input_lock_cancel

longarea
boolblocked

achievement_info_loaded

spec_target_updated

player_controller_and_pawnuseridspectating player
ehandletargetehandle of the target

spec_mode_updated

player_controlleruseridentindex of the player

hltv_changed_mode

longoldmode
longnewmode
longobs_target

cs_game_disconnected

cs_round_final_beep

cs_round_start_beep

cs_win_panel_round

boolshow_timer_defend
boolshow_timer_attack
shorttimer_time
bytefinal_eventdefine in cs_gamerules.h
stringfunfact_token
player_controllerfunfact_player
longfunfact_data1
longfunfact_data2
longfunfact_data3

cs_win_panel_match

cs_match_end_restart

cs_pre_restart

show_deathpanel

player_controller_and_pawnvictimendindex of the one who was killed
ehandlekillerentindex of the killer entity
player_controllerkiller_controller
shorthits_taken
shortdamage_taken
shorthits_given
shortdamage_given

hide_deathpanel

player_avenged_teammate

player_controlleravenger_id
player_controlleravenged_player_id

achievement_earned_local

shortachievementachievement ID
shortsplitscreenplayersplitscreen ID

repost_xbox_achievements

shortsplitscreenplayersplitscreen ID

match_end_conditions

longfrags
longmax_rounds
longwin_rounds
longtime

round_mvp

player_controlleruserid
shortreason
longvalue
longmusickitmvps
bytenomusic
longmusickitid

show_survival_respawn_status

stringloc_token
longduration
player_controller_and_pawnuserid

client_disconnect

gg_player_levelup

player_controlleruseridplayer who leveled up
shortweaponrank
stringweaponnamename of weapon being awarded

ggtr_player_levelup

player_controlleruseridplayer who leveled up
shortweaponrank
stringweaponnamename of weapon being awarded

ggprogressive_player_levelup

player_controlleruseridplayer who leveled up
shortweaponrank
stringweaponnamename of weapon being awarded

gg_killed_enemy

player_controllervictimiduser ID who died
player_controllerattackeriduser ID who killed
shortdominateddid killer dominate victim with this kill
shortrevengedid killer get revenge on victim with this kill
boolbonusdid killer kill with a bonus weapon?

gg_final_weapon_achieved

player_controlleruseriduser ID who achieved the final gun game weapon

gg_bonus_grenade_achieved

player_controlleruseriduser ID who achieved the bonus grenade

switch_team

shortnumPlayersnumber of active players on both T and CT
shortnumSpectatorsnumber of spectators
shortavg_rankaverage rank of human players
shortnumTSlotsFree
shortnumCTSlotsFree

gg_leader

player_controlleruseriduser ID that is currently in the lead

gg_team_leader

player_controlleruseriduser ID that is currently in the lead

gg_player_impending_upgrade

player_controlleruseridplayer who will be leveling up

write_profile_data

trial_time_expired

Note: Fired when a player runs out of time in trial mode
player_controlleruseridplayer whose time has expired

update_matchmaking_stats

Note: Fired when it's time to update matchmaking data at the end of a round.

player_reset_vote

player_controlleruserid
boolvote

enable_restart_voting

boolenable

sfuievent

stringaction
stringdata
byteslot

start_vote

player_controlleruserid
bytetype
shortvote_parameter

player_given_c4

player_controlleruseriduser ID who received the c4

gg_reset_round_start_sounds

player_controlleruseriduser ID who should have round start sounds reset

tr_player_flashbanged

player_controlleruseriduser ID of the player banged

tr_mark_complete

shortcomplete

tr_mark_best_time

longtime

tr_exit_hint_trigger

bot_takeover

player_controller_and_pawnuserid
player_controllerbotid

tr_show_finish_msgbox

tr_show_exit_msgbox

jointeam_failed

player_controlleruserid
bytereason0 = team_full

teamchange_pending

player_controlleruserid
bytetoteam

material_default_complete

cs_prev_next_spectator

boolnext

cs_handle_ime_event

1local
stringeventtype
wstringeventdata

nextlevel_changed

Note: A game event, name may be 32 characters long
stringnextlevel
stringmapgroup
stringskirmishmode

seasoncoin_levelup

player_controlleruserid
shortcategory
shortrank

tournament_reward

longdefindex
longtotalrewards
longaccountid

start_halftime

ammo_refill

player_controlleruserid
boolsuccess

parachute_pickup

player_controlleruserid

parachute_deploy

player_controlleruserid

dronegun_attack

player_controlleruserid

drone_dispatched

player_controlleruserid
shortpriority
shortdrone_dispatched

loot_crate_visible

player_controlleruseridplayer entindex
shortsubjectcrate entindex
stringtypetype of crate (metal, wood, or paradrop)

loot_crate_opened

player_controlleruseridplayer entindex
stringtypetype of crate (metal, wood, or paradrop)

open_crate_instr

player_controlleruseridplayer entindex
shortsubjectcrate entindex
stringtypetype of crate (metal, wood, or paradrop)

smoke_beacon_paradrop

player_controlleruserid
shortparadrop

survival_paradrop_spawn

shortentityid

survival_paradrop_break

shortentityid

drone_cargo_detached

player_controlleruserid
shortcargo
booldelivered

drone_above_roof

player_controlleruserid
shortcargo

choppers_incoming_warning

boolglobal

firstbombs_incoming_warning

boolglobal

dz_item_interaction

player_controlleruseridplayer entindex
shortsubjectcrate entindex
stringtypetype of crate (metal, wood, or paradrop)

survival_teammate_respawn

player_controlleruserid

survival_no_respawns_warning

player_controlleruserid

survival_no_respawns_final

player_controlleruserid

player_ping

player_controller_and_pawnuserid
shortentityid
floatx
floaty
floatz
boolurgent

player_ping_stop

shortentityid

player_sound

player_controller_and_pawnuserid
intradius
floatduration
boolstep

guardian_wave_restart

team_intro_start

team_intro_end