OnLeaveGame
From the Scripting Manual
procedure OnLeaveGame(ID, Team: byte; Kicked: boolean); Parameter Info: ID (Byte): ID of the player. Team (Byte): Team the player was on when he/she left the game. Kicked (Boolean): True/False if the player was forced to leave the game. Description: This procedure will be called every time a player leaves the game.