AMX Mod X API Documentation

Signature
native cs_get_user_tked(index);
Description

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

Notes
  • 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.

Parameters
  • index Client index
Returns

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

Errors
  • If the client index is not within the range of 1 to

    MaxClients, or the client is not connected, an error will be

    thrown.

Назад
Верх