RedM Natives

STOP_RENDERING_SCRIPT_CAMS_USING_CATCH_UP

This native makes the gameplay camera zoom into first person/third person with a special effect.

Hash0x8C7C7FF7CF0E5153
Runtime nameStopRenderingScriptCamsUsingCatchUp
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC819F3CBB62BF692

Signature

void STOP_RENDERING_SCRIPT_CAMS_USING_CATCH_UP(BOOL render, float distance, int blendBackSmoothingType, BOOL p3, BOOL p4, BOOL p5);

Parameters

NameTypeDescription
renderBOOL—
distancefloat—
blendBackSmoothingTypeint—
p3BOOL—
p4BOOL—
p5BOOL—

Returns void

Description

This native makes the gameplay camera zoom into first person/third person with a special effect.
blendBackSmoothingType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eBlendBackSmoothing

Usage

Lua
StopRenderingScriptCamsUsingCatchUp(render, distance, blendBackSmoothingType, p3, p4, p5)

-- always works, by hash
Citizen.InvokeNative(0x8C7C7FF7CF0E5153, render, distance, blendBackSmoothingType, p3, p4, p5)
JavaScript and C#
JavaScript
StopRenderingScriptCamsUsingCatchUp(render, distance, blendBackSmoothingType, p3, p4, p5);

// by hash
Citizen.invokeNative('0x8C7C7FF7CF0E5153', render, distance + 0.0000001, blendBackSmoothingType, p3, p4, p5);
C#
Function.Call((Hash)0x8C7C7FF7CF0E5153, render, distance, blendBackSmoothingType, p3, p4, p5);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.