RDR3 match
TASK::TASK_TURN_TO_FACE_CLOSEST_PED
0x2422C90D7BE86BE6 ·RVA 0x044C8860
Signature
void TASK_TURN_TO_FACE_CLOSEST_PED(
Ped ped,
float p1,
float p2,
int p3
);
The scripts pass 5 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | float | p1 |
– |
| 2 | float | p2 |
– |
| 3 | int | p3 |
– |
Returns
void Nothing.
Call it
// TASK::TASK_TURN_TO_FACE_CLOSEST_PED
invoke<Void>(0x2422C90D7BE86BE6, ped, p1, p2, p3);// TASK::TASK_TURN_TO_FACE_CLOSEST_PED
Function.Call((Hash)0x2422C90D7BE86BE6, ped, p1, p2, p3);-- TASK::TASK_TURN_TO_FACE_CLOSEST_PED
Citizen.InvokeNative(0x2422C90D7BE86BE6, ped, p1, p2, p3)// TASK::TASK_TURN_TO_FACE_CLOSEST_PED
Citizen.invokeNative("0x2422C90D7BE86BE6", ped, p1, p2, p3);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.