Signature
native set_view(iIndex, ViewType);
Description
Sets the engine module view mode on a client.
Notes
-
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.
Parameters
- iIndex — Client index
- ViewType — View mode