native cs_set_user_tked(index, tk = 1, subtract = 1);
index | Client index |
tk | Team kill status |
subtract | Amount of frags to subtract, negative values add frags |
Sets the client's team kill status, indicating whether the client has committed a team kill in the current round.
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.
This function has no return value.
If the client index is not within the range of 1 to MaxClients, or the client is not connected, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.