setCamIsInsideVehicle
SET_CAM_IS_INSIDE_VEHICLE0xA2767257A320FC82The GTA V native SET_CAM_IS_INSIDE_VEHICLE of the CAM namespace, as LS:MP client scripts call it: the global function setCamIsInsideVehicle, in JavaScript and in Lua.
setCamIsInsideVehicle(cam: Cam, toggle: boolean): voidsetCamIsInsideVehicle(cam: Cam, toggle: boolean)Usage
JavaScript
setCamIsInsideVehicle(cam, toggle);Lua
setCamIsInsideVehicle(cam, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
toggle | 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.
When set to true shadows appear more smooth but less detailed.
Set to false by default.
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_IS_INSIDE_VEHICLE(Cam cam, BOOL toggle)- Hash
0xA2767257A320FC82- Formerly
_SET_CAM_SMOOTH_SHADOWS