set_view

Syntax

native set_view(iIndex, ViewType);

Usage

Parameter Description
iIndex
Client index
ViewType
View mode

Description

Sets the engine module view mode on a client.

Note

  • For a list of valid view modes see the CAMERA_* constants in
    engine_const.inc
  • The engine module uses a custom entity to achieve the camera effects
    and requires "models/rpgrocket.mdl" to be precached by the plugin.