setCamInheritRollVehicle
SET_CAM_INHERIT_ROLL_VEHICLE0x45F1DE9C34B93AE6The GTA V native SET_CAM_INHERIT_ROLL_VEHICLE of the CAM namespace, as LS:MP client scripts call it: the global function setCamInheritRollVehicle, in JavaScript and in Lua.
setCamInheritRollVehicle(cam: Cam, p1: boolean): voidsetCamInheritRollVehicle(cam: Cam, p1: boolean)Usage
JavaScript
setCamInheritRollVehicle(cam, p1);Lua
setCamInheritRollVehicle(cam, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
p1 | BOOL | boolean | boolean |
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.
The native seems to only be called once.
The native is used as so,
setCamInheritRollVehicle(l_544, getElem(2, &l_525, 4));In the exile1 script.
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_INHERIT_ROLL_VEHICLE(Cam cam, BOOL p1)- Hash
0x45F1DE9C34B93AE6