setInVehicleCamStateThisUpdate
SET_IN_VEHICLE_CAM_STATE_THIS_UPDATE0xE9EA16D6E54CDCA4The GTA V native SET_IN_VEHICLE_CAM_STATE_THIS_UPDATE of the CAM namespace, as LS:MP client scripts call it: the global function setInVehicleCamStateThisUpdate, in JavaScript and in Lua.
setInVehicleCamStateThisUpdate(p0: Vehicle, p1: number): voidsetInVehicleCamStateThisUpdate(p0: Vehicle, p1: integer)Usage
JavaScript
setInVehicleCamStateThisUpdate(p0, p1);Lua
setInVehicleCamStateThisUpdate(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Vehicle | number | integer |
p1 | int | number | integer |
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.
Forces gameplay cam to specified vehicle as if you were in it
Reference
- Namespace
- Camera CAM
- In the game
void SET_IN_VEHICLE_CAM_STATE_THIS_UPDATE(Vehicle p0, int p1)- Hash
0xE9EA16D6E54CDCA4