In
GoldSrc, there is a set of special
entity names that, if given to an entity, will cause it to be automatically triggered by certain game events involving the player(s).
- game_playerspawn - Triggered when a player spawns.
- game_playerdie - Triggered when a player dies.
- game_playerkill - Triggered when a player kills another player.
- game_playerjoin - Triggered when a player joins the game.
- game_playerleave - Triggered when a player leaves the game.