native
set_view
Syntax
native set_view(iIndex, ViewType);
Description
Sets the engine module view mode on a client.
Parameters
| iIndex | Client index |
|---|---|
| ViewType | View mode |
Note
For a list of valid view modes see the CAMERA_* constants in
engine_const.inc
Note
The engine module uses a custom entity to achieve the camera effects
and requires "models/rpgrocket.mdl" to be precached by the plugin.