TASK_CARRIABLE
7 > Back of a horse 6 > Right side of a horse 5 > Left side of a horse
Hash
0xF0B4F759F35CC7F5Runtime name
TaskCarriableNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
void TASK_CARRIABLE(Entity entity, Hash carryConfig, Ped carrier, int carriableSlot, int flags);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
carryConfig | Hash | — |
carrier | Ped | — |
carriableSlot | int | — |
flags | int | — |
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
TaskCarriable(entity, carryConfig, carrier, carriableSlot, flags)
-- always works, by hash
Citizen.InvokeNative(0xF0B4F759F35CC7F5, entity, carryConfig, carrier, carriableSlot, flags)JavaScript and C#
TaskCarriable(entity, carryConfig, carrier, carriableSlot, flags);
// by hash
Citizen.invokeNative('0xF0B4F759F35CC7F5', entity, carryConfig, carrier, carriableSlot, flags);Function.Call((Hash)0xF0B4F759F35CC7F5, entity, carryConfig, carrier, carriableSlot, flags);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.