CameraClient

setGameplayHintFollowDistanceScalar

SET_GAMEPLAY_HINT_FOLLOW_DISTANCE_SCALAR0xF8BDBF3D573049A1

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

SignatureJavaScript
setGameplayHintFollowDistanceScalar(value: number): void
SignatureLua
setGameplayHintFollowDistanceScalar(value: number)

Usage

JavaScript
setGameplayHintFollowDistanceScalar(value);
Lua
setGameplayHintFollowDistanceScalar(value)

Parameters

ParameterTypeJavaScriptLua
valuefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_GAMEPLAY_HINT_FOLLOW_DISTANCE_SCALAR(float value)
Hash
0xF8BDBF3D573049A1
Formerly
_SET_GAMEPLAY_HINT_ANIM_OFFSETZ

Open in the interactive natives reference