cs_get_user_tked

Syntax

native cs_get_user_tked(index);

Usage

index
Client index

Description

Returns if the client has committed a team kill in the current round.

Note

If this is set to 1 the client will be punished at the start of the
next round depending on the value of the mp_tkpunish cvar. The team
kill status is then reset.

Return

1 if the client has committed a team kill, 0 otherwise

Error

If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error will be
thrown.