set_user_fov

Changes the client's field of view (FOV).

Syntax

stock set_user_fov(id, fov = 0, bool:reliable = true) {

Usage

id Client index or 0 for all clients
fov Field of view degrees (0 - 255)
reliable If true, the message will be sent via the reliable

Return

if "id" is non-zero and the client isn't connected,

Notes

Setting the "fov" argument below 45 will also draw a sniper scope.

Defined in msgstocks.inc at line 440 . This documentation was automatically generated from source.