pointCamAtEntity
POINT_CAM_AT_ENTITY0x5640BFF86B16E8DCThe GTA V native POINT_CAM_AT_ENTITY of the CAM namespace, as LS:MP client scripts call it: the global function pointCamAtEntity, in JavaScript and in Lua.
pointCamAtEntity(
cam: Cam,
entity: Entity,
p2: number,
p3: number,
p4: number,
p5: boolean
): voidpointCamAtEntity(
cam: Cam,
entity: Entity,
p2: number,
p3: number,
p4: number,
p5: boolean
)Usage
JavaScript
pointCamAtEntity(cam, entity, p2, p3, p4, p5);Lua
pointCamAtEntity(cam, entity, p2, p3, p4, p5)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
entity | Entity | number | integer |
p2 | float | number | number |
p3 | float | number | number |
p4 | float | number | number |
p5 | 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.
p5 always seems to be 1 i.e TRUE
Reference
- Namespace
- Camera CAM
- In the game
void POINT_CAM_AT_ENTITY(Cam cam, Entity entity, float p2, float p3, float p4, BOOL p5)- Hash
0x5640BFF86B16E8DC