cs_set_user_hostagekills

Синтаксис

native cs_set_user_hostagekills(index, value);

Употреба

index
Client index
value
New amount of hostages killed

Описание

Sets the amount of hostages that the client has killed.

Забележка

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.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

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