TASK_GO_TO_COORD_ANY_MEANS
Hash
0x5BC448CB78FA3E88Runtime name
TaskGoToCoordAnyMeansNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5BC448CB78FA3E88Signature
void TASK_GO_TO_COORD_ANY_MEANS(Ped ped, float x, float y, float z, float speed, Entity entity, BOOL p6, int walkingStyle, float p8);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
x | float | — |
y | float | — |
z | float | — |
speed | float | — |
entity | Entity | — |
p6 | BOOL | — |
walkingStyle | int | — |
p8 | float | — |
Returns void
Usage
TaskGoToCoordAnyMeans(ped, x, y, z, speed, entity, p6, walkingStyle, p8)
-- always works, by hash
Citizen.InvokeNative(0x5BC448CB78FA3E88, ped, x, y, z, speed, entity, p6, walkingStyle, p8)JavaScript and C#
TaskGoToCoordAnyMeans(ped, x, y, z, speed, entity, p6, walkingStyle, p8);
// by hash
Citizen.invokeNative('0x5BC448CB78FA3E88', ped, x + 0.0000001, y + 0.0000001, z + 0.0000001, speed + 0.0000001, entity, p6, walkingStyle, p8 + 0.0000001);Function.Call((Hash)0x5BC448CB78FA3E88, ped, x, y, z, speed, entity, p6, walkingStyle, 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.