TASK_FOLLOW_AND_CONVERSE_WITH_PED
Hash
0x489FFCCCE7392B55Runtime name
TaskFollowAndConverseWithPedNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
void TASK_FOLLOW_AND_CONVERSE_WITH_PED(Ped ped, Ped targetPed, Any p2, Any p3, float p4, float p5, int p6, Any p7, Any p8, float p9, float p10);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
targetPed | Ped | — |
p2 | Any | — |
p3 | Any | — |
p4 | float | — |
p5 | float | — |
p6 | int | — |
p7 | Any | — |
p8 | Any | — |
p9 | float | — |
p10 | float | — |
Returns void
Usage
TaskFollowAndConverseWithPed(ped, targetPed, p2, p3, p4, p5, p6, p7, p8, p9, p10)
-- always works, by hash
Citizen.InvokeNative(0x489FFCCCE7392B55, ped, targetPed, p2, p3, p4, p5, p6, p7, p8, p9, p10)JavaScript and C#
TaskFollowAndConverseWithPed(ped, targetPed, p2, p3, p4, p5, p6, p7, p8, p9, p10);
// by hash
Citizen.invokeNative('0x489FFCCCE7392B55', ped, targetPed, p2, p3, p4 + 0.0000001, p5 + 0.0000001, p6, p7, p8, p9 + 0.0000001, p10 + 0.0000001);Function.Call((Hash)0x489FFCCCE7392B55, ped, targetPed, p2, p3, p4, p5, p6, p7, p8, p9, p10);- 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.