The Lab
TASK native

TASK_CARRIABLE

returns void5 paramsbuild 1207

Makes entity carriable by carrier using the carry configuration carryConfig in slot carriableSlot.

Signature

C
void TASK_CARRIABLE(Entity entity, Hash carryConfig, Ped carrier, int carriableSlot, int flags); // 0xF0B4F759F35CC7F5 b1207

Parameters

#NameType
1entityEntity
2carryConfigHash
3carrierPed
4carriableSlotint
5flagsint

Facts

Facts about TASK_CARRIABLE
Name
TASK_CARRIABLE
Hash
0xF0B4F759F35CC7F5
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(0xF0B4F759F35CC7F5, -- TASK_CARRIABLE
  PlayerPedId(), -- Entity entity
  GetHashKey("name"), -- Hash carryConfig
  PlayerPedId(), -- Ped carrier
  0, -- int carriableSlot
  0 -- int flags
)
JavaScript
Citizen.invokeNative("0xF0B4F759F35CC7F5", // TASK_CARRIABLE
  PlayerPedId(), // Entity entity
  GetHashKey("name"), // Hash carryConfig
  PlayerPedId(), // Ped carrier
  0, // int carriableSlot
  0 // int flags
);
C#
Function.Call((Hash)0xF0B4F759F35CC7F5, // TASK_CARRIABLE
  API.PlayerPedId(), // Entity entity
  (uint)API.GetHashKey("name"), // Hash carryConfig
  API.PlayerPedId(), // Ped carrier
  0, // int carriableSlot
  0 // int flags
);
All TASK natives

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