setGameplayCoordHint
SET_GAMEPLAY_COORD_HINT0xD51ADCD2D8BC0FB3The GTA V native SET_GAMEPLAY_COORD_HINT of the CAM namespace, as LS:MP client scripts call it: the global function setGameplayCoordHint, in JavaScript and in Lua.
setGameplayCoordHint(
x: number,
y: number,
z: number,
duration: number,
blendOutDuration: number,
blendInDuration: number,
p6: number
): voidsetGameplayCoordHint(
x: number,
y: number,
z: number,
duration: integer,
blendOutDuration: integer,
blendInDuration: integer,
p6: integer
)Usage
JavaScript
setGameplayCoordHint(x, y, z, duration, blendOutDuration, blendInDuration, p6);Lua
setGameplayCoordHint(x, y, z, duration, blendOutDuration, blendInDuration, p6)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
setGameplayCoordHint(pos, duration, blendOutDuration, blendInDuration, p6);Lua · with vectors
setGameplayCoordHint(pos, duration, blendOutDuration, blendInDuration, p6)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
duration | int | number | integer |
blendOutDuration | int | number | integer |
blendInDuration | int | number | integer |
p6 | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Camera CAM
- In the game
void SET_GAMEPLAY_COORD_HINT(float x, float y, float z, int duration, int blendOutDuration, int blendInDuration, int p6)- Hash
0xD51ADCD2D8BC0FB3