cs_set_hostage_foll

Синтаксис

native cs_set_hostage_foll(index, followedindex = 0);

Употреба

index
Hostage entity index
followedindex
New entity to follow

Описание

Sets hostage to follow an entity.

Забележка

Hostages can theoretically follow any entity in the game, so the
followedindex does not have to be a client index.

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

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

Грешка

If the provided entity index is not a hostage, an
error will be thrown.