SET_GAMEPLAY_ENTITY_HINT
p6 & p7 - possibly length or time
Hash
0xD1F7F32640ADFD12Runtime name
SetGameplayEntityHintNamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x189E955A8313E298Signature
void SET_GAMEPLAY_ENTITY_HINT(Entity entity, float xOffset, float yOffset, float zOffset, BOOL p4, int p5, int p6, int p7, Any p8);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
xOffset | float | — |
yOffset | float | — |
zOffset | float | — |
p4 | BOOL | — |
p5 | int | — |
p6 | int | — |
p7 | int | — |
p8 | Any | — |
Returns void
Description
p6 & p7 - possibly length or time
Usage
SetGameplayEntityHint(entity, xOffset, yOffset, zOffset, p4, p5, p6, p7, p8)
-- always works, by hash
Citizen.InvokeNative(0xD1F7F32640ADFD12, entity, xOffset, yOffset, zOffset, p4, p5, p6, p7, p8)JavaScript and C#
SetGameplayEntityHint(entity, xOffset, yOffset, zOffset, p4, p5, p6, p7, p8);
// by hash
Citizen.invokeNative('0xD1F7F32640ADFD12', entity, xOffset + 0.0000001, yOffset + 0.0000001, zOffset + 0.0000001, p4, p5, p6, p7, p8);Function.Call((Hash)0xD1F7F32640ADFD12, entity, xOffset, yOffset, zOffset, p4, p5, p6, p7, p8);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.