taskWanderStandard
TASK_WANDER_STANDARD0xBB9CE077274F6A1BThe GTA V native TASK_WANDER_STANDARD of the TASK namespace, as LS:MP client scripts call it: the global function taskWanderStandard, in JavaScript and in Lua.
taskWanderStandard(ped: Ped, heading: number, flags: number): voidtaskWanderStandard(ped: Ped, heading: number, flags: integer)Usage
JavaScript
taskWanderStandard(ped, heading, flags);Lua
taskWanderStandard(ped, heading, flags)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
heading | float | number | number |
flags | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Makes ped walk around the area.
set p1 to 10.0f and p2 to 10 if you want the ped to walk anywhere without a duration.
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_WANDER_STANDARD(Ped ped, float heading, int flags)- Hash
0xBB9CE077274F6A1B