HolyLib Wiki

SetCameraMan

  sourcetv.SetCameraMan( number entityIndex )

Description

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

This won't set it for new clients.
You have to call it again for thoes.

Arguments

1number entityIndex
entity index or Entity