TASK_HANDS_UP
Tasks ped to raise its hands for duration, facing facingPed.
Signature
void TASK_HANDS_UP(Ped ped, int duration, Ped facingPed, int timeToFacePed, int flags); // 0xF2EAB31979A7F910 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | duration | int |
| 3 | facingPed | Ped |
| 4 | timeToFacePed | int |
| 5 | flags | int |
Facts
| Name | TASK_HANDS_UP |
|---|---|
| Hash | 0xF2EAB31979A7F910 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xF2EAB31979A7F910, -- TASK_HANDS_UP
PlayerPedId(), -- Ped ped
0, -- int duration
PlayerPedId(), -- Ped facingPed
0, -- int timeToFacePed
0 -- int flags
)Citizen.invokeNative("0xF2EAB31979A7F910", // TASK_HANDS_UP
PlayerPedId(), // Ped ped
0, // int duration
PlayerPedId(), // Ped facingPed
0, // int timeToFacePed
0 // int flags
);Function.Call((Hash)0xF2EAB31979A7F910, // TASK_HANDS_UP
API.PlayerPedId(), // Ped ped
0, // int duration
API.PlayerPedId(), // Ped facingPed
0, // int timeToFacePed
0 // int flags
);Related TASK natives
- UPDATE_TASK_HANDS_UP_DURATION
- TASK_PICK_UP_WEAPON
- CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
- TASK_HITCH_ANIMAL
- TASK_HOGTIE_TARGET_PED
- TASK_HOGTIEABLE
- TASK_HORSE_ACTION
- TASK_ACHIEVE_HEADING
- TASK_AIM_AT_COORD
- TASK_AIM_AT_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.