RedM Natives

TASK_CARRIABLE

7 > Back of a horse 6 > Right side of a horse 5 > Left side of a horse

Hash0xF0B4F759F35CC7F5
Runtime nameTaskCarriable
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207

Signature

void TASK_CARRIABLE(Entity entity, Hash carryConfig, Ped carrier, int carriableSlot, int flags);

Parameters

NameTypeDescription
entityEntity—
carryConfigHash—
carrierPed—
carriableSlotint—
flagsint—

Returns void

Description

carriableSlot:
7 > Back of a horse
6 > Right side of a horse
5 > Left side of a horse
flags:
512: enables the prompt being the name of the item when using a generic item

Usage

Lua
TaskCarriable(entity, carryConfig, carrier, carriableSlot, flags)

-- always works, by hash
Citizen.InvokeNative(0xF0B4F759F35CC7F5, entity, carryConfig, carrier, carriableSlot, flags)
JavaScript and C#
JavaScript
TaskCarriable(entity, carryConfig, carrier, carriableSlot, flags);

// by hash
Citizen.invokeNative('0xF0B4F759F35CC7F5', entity, carryConfig, carrier, carriableSlot, flags);
C#
Function.Call((Hash)0xF0B4F759F35CC7F5, entity, carryConfig, carrier, carriableSlot, flags);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.