If you didn't search any results, use
Advanced search
Signature
native cs_set_hostage_foll(index, followedindex = 0);
Description
Sets hostage to follow an entity.
Notes
-
Hostages can theoretically follow any entity in the game, so the
followedindex does not have to be a client index.
Parameters
- index — Hostage entity index
- followedindex — New entity to follow
No return value
Errors
-
If the provided entity index is not a hostage, an
error will be thrown.