UNHOGTIE_PED
Frees ped from a hogtie, using getupSetHash for its get-up animation.
Signature
void UNHOGTIE_PED(Ped ped, int flags, Hash getupSetHash, const char* p3, const char* p4, float p5); // 0x79559BAD83CCD038 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | flags | int |
| 3 | getupSetHash | Hash |
| 4 | p3 | const char* |
| 5 | p4 | const char* |
| 6 | p5 | float |
Facts
| Name | UNHOGTIE_PED |
|---|---|
| Hash | 0x79559BAD83CCD038 |
| 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(0x79559BAD83CCD038, -- UNHOGTIE_PED
PlayerPedId(), -- Ped ped
0, -- int flags
GetHashKey("name"), -- Hash getupSetHash
"text", -- const char* p3
"text", -- const char* p4
0.0 -- float p5
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x79559BAD83CCD038", // UNHOGTIE_PED
PlayerPedId(), // Ped ped
0, // int flags
GetHashKey("name"), // Hash getupSetHash
"text", // const char* p3
"text", // const char* p4
0.0 // float p5
);Function.Call((Hash)0x79559BAD83CCD038, // UNHOGTIE_PED
API.PlayerPedId(), // Ped ped
0, // int flags
(uint)API.GetHashKey("name"), // Hash getupSetHash
"text", // const char* p3
"text", // const char* p4
0.0f // float p5
);Related TASK natives
- _IS_PED_ARRESTING_ANY_PED
- UNCUFF_PED
- _CUFF_PED
- _DETACH_CARRIABLE_PED
- _EMIT_PED_CARRIABLE_STRUGGLE_DIRECTION
- _EMIT_PED_CARRIABLE_STRUGGLE_INTENSITY
- _EVALUATE_PED_CARRIABLE_STRUGGLE_AVAILABLE
- _FIND_NEAREST_PED_AROUND_ANIMAL
- _GET_ITEM_INTERACTION_ENTITY_FROM_PED
- _GET_LED_HORSE_FROM_PED
- _GET_PED_IS_IGNORING_DEAD_BODIES
- _GET_PED_USING_SCENARIO_POINT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.