renderScriptCams
RENDER_SCRIPT_CAMS0x07E5B515DB0636FCThe GTA V native RENDER_SCRIPT_CAMS of the CAM namespace, as LS:MP client scripts call it: the global function renderScriptCams, in JavaScript and in Lua.
renderScriptCams(
render: boolean,
ease: boolean,
easeTime: number,
p3: boolean,
p4: boolean,
p5: any
): voidrenderScriptCams(
render: boolean,
ease: boolean,
easeTime: integer,
p3: boolean,
p4: boolean,
p5: any
)Usage
JavaScript
renderScriptCams(render, ease, easeTime, p3, p4, p5);Lua
renderScriptCams(render, ease, easeTime, p3, p4, p5)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
render | BOOL | boolean | boolean |
ease | BOOL | boolean | boolean |
easeTime | int | number | integer |
p3 | BOOL | boolean | boolean |
p4 | BOOL | boolean | boolean |
p5 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
ease - smooth transition between the camera's positions
easeTime - Time in milliseconds for the transition to happen
If you have created a script (rendering) camera, and want to go back to the
character (gameplay) camera, call this native with render set to 0.
Setting ease to 1 will smooth the transition.
Reference
- Namespace
- Camera CAM
- In the game
void RENDER_SCRIPT_CAMS(BOOL render, BOOL ease, int easeTime, BOOL p3, BOOL p4, Any p5)- Hash
0x07E5B515DB0636FC