native

cs_set_hostage_foll

Syntax

native cs_set_hostage_foll(index, followedindex = 0);

Description

Set hostage to follow entity specified in followedindex. Does not have to be a player. If followedindex is 0 the hostage will stop following.
Note: this native does not work on Condition Zero, which has a different hostage AI than CS.