CameraClient

setGameplayHintFov

SET_GAMEPLAY_HINT_FOV0x513403FB9C56211F

The GTA V native SET_GAMEPLAY_HINT_FOV of the CAM namespace, as LS:MP client scripts call it: the global function setGameplayHintFov, in JavaScript and in Lua.

SignatureJavaScript
setGameplayHintFov(FOV: number): void
SignatureLua
setGameplayHintFov(FOV: number)

Usage

JavaScript
setGameplayHintFov(FOV);
Lua
setGameplayHintFov(FOV)

Parameters

ParameterTypeJavaScriptLua
FOVfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_GAMEPLAY_HINT_FOV(float FOV)
Hash
0x513403FB9C56211F

Open in the interactive natives reference