SET_GAMEPLAY_HINT_FOLLOW_DISTANCE_SCALAR
Hash
0xDDDC54181868F81FRuntime name
SetGameplayHintFollowDistanceScalarNamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xF8BDBF3D573049A1Signature
void SET_GAMEPLAY_HINT_FOLLOW_DISTANCE_SCALAR(float p0);Parameters
| Name | Type | Description |
|---|---|---|
p0 | float | — |
Returns void
Usage
SetGameplayHintFollowDistanceScalar(p0)
-- always works, by hash
Citizen.InvokeNative(0xDDDC54181868F81F, p0)JavaScript and C#
SetGameplayHintFollowDistanceScalar(p0);
// by hash
Citizen.invokeNative('0xDDDC54181868F81F', p0 + 0.0000001);Function.Call((Hash)0xDDDC54181868F81F, p0);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.