The Lab
TASK native

UNHOGTIE_PED

returns void6 paramsbuild 1207

Frees ped from a hogtie, using getupSetHash for its get-up animation.

Signature

C
void UNHOGTIE_PED(Ped ped, int flags, Hash getupSetHash, const char* p3, const char* p4, float p5); // 0x79559BAD83CCD038 b1207

Parameters

#NameType
1pedPed
2flagsint
3getupSetHashHash
4p3const char*
5p4const char*
6p5float

Facts

Facts about UNHOGTIE_PED
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.

Lua
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
)
JavaScript
// 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
);
C#
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
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.