HolyLib Wiki

SetCameraMan

  CHLTVClient:SetCameraMan( number entityIndex )

Description

Sends the hltv_cameraman event to the specific client and blocks the HLTVDirector from changing the view.
Call it with 0 / NULL to reset it and let the HLTVDirector take control again.

Arguments

1number entityIndex
entity index or Entity