pointCamAtCoord
POINT_CAM_AT_COORD0xF75497BB865F0803The GTA V native POINT_CAM_AT_COORD of the CAM namespace, as LS:MP client scripts call it: the global function pointCamAtCoord, in JavaScript and in Lua.
pointCamAtCoord(cam: Cam, x: number, y: number, z: number): voidpointCamAtCoord(cam: Cam, x: number, y: number, z: number)Usage
JavaScript
pointCamAtCoord(cam, x, y, z);Lua
pointCamAtCoord(cam, x, y, z)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
pointCamAtCoord(cam, pos);Lua · with vectors
pointCamAtCoord(cam, pos)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
x | float | number | number |
y | float | number | number |
z | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Camera CAM
- In the game
void POINT_CAM_AT_COORD(Cam cam, float x, float y, float z)- Hash
0xF75497BB865F0803