cs_set_user_hostagekills

Syntax

native cs_set_user_hostagekills(index, value);

Usage

index
Client index
value
New amount of hostages killed

Description

Sets the amount of hostages that the client has killed.

Note

This is the value that the internal Counter-Strike hostage punisher
uses to determine if a client should be kicked, depending on the
value of the mp_hostagepenalty value. The punisher only checks this
value when a hostage is killed, so setting this will not cause the
client to be kicked until they actually kill a hostage.

Return

This function has no return value.

Error

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