TASK_WANDER_IN_AREA
Hash
0xE054346CA3A0F315Runtime name
TaskWanderInAreaNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xE054346CA3A0F315Signature
void TASK_WANDER_IN_AREA(Ped ped, float x, float y, float z, float radius, float p5, float p6, int p7);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
x | float | — |
y | float | — |
z | float | — |
radius | float | — |
p5 | float | — |
p6 | float | — |
p7 | int | — |
Returns void
Usage
TaskWanderInArea(ped, x, y, z, radius, p5, p6, p7)
-- always works, by hash
Citizen.InvokeNative(0xE054346CA3A0F315, ped, x, y, z, radius, p5, p6, p7)JavaScript and C#
TaskWanderInArea(ped, x, y, z, radius, p5, p6, p7);
// by hash
Citizen.invokeNative('0xE054346CA3A0F315', ped, x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, p5 + 0.0000001, p6 + 0.0000001, p7);Function.Call((Hash)0xE054346CA3A0F315, ped, x, y, z, radius, p5, p6, p7);- 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.