TF2_RemoveWearable Function

Removes an econ wearable (hat, misc, etc) from a player. This also deletes the wearable entity.

void TF2_RemoveWearable(int client, int wearable)

Parameters

int client

Client index.

int wearable

Index of the wearable entity.

Errors

Invalid client index, client not in game, invalid wearable entity, or no mod support.