TASK_MOVE_NETWORK_BY_NAME
Hash
0x2D537BA194896636Runtime name
TaskMoveNetworkByNameNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x2D537BA194896636Signature
void TASK_MOVE_NETWORK_BY_NAME(Ped ped, const char* task, float multiplier, BOOL p3, const char* animDict, int flags);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
task | const char* | — |
multiplier | float | — |
p3 | BOOL | — |
animDict | const char* | — |
flags | int | — |
Returns void
Usage
TaskMoveNetworkByName(ped, task, multiplier, p3, animDict, flags)
-- always works, by hash
Citizen.InvokeNative(0x2D537BA194896636, ped, task, multiplier, p3, animDict, flags)JavaScript and C#
TaskMoveNetworkByName(ped, task, multiplier, p3, animDict, flags);
// by hash
Citizen.invokeNative('0x2D537BA194896636', ped, task, multiplier + 0.0000001, p3, animDict, flags);Function.Call((Hash)0x2D537BA194896636, ped, task, multiplier, p3, animDict, flags);- 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.