TASK_PLACE_CARRIED_ENTITY_ON_MOUNT
Hash
0x6D3D87C57B3D52C7Runtime name
TaskPlaceCarriedEntityOnMountNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
void TASK_PLACE_CARRIED_ENTITY_ON_MOUNT(Ped ped, Entity entity, Ped mount, float p3);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
entity | Entity | — |
mount | Ped | — |
p3 | float | — |
Returns void
Usage
TaskPlaceCarriedEntityOnMount(ped, entity, mount, p3)
-- always works, by hash
Citizen.InvokeNative(0x6D3D87C57B3D52C7, ped, entity, mount, p3)JavaScript and C#
TaskPlaceCarriedEntityOnMount(ped, entity, mount, p3);
// by hash
Citizen.invokeNative('0x6D3D87C57B3D52C7', ped, entity, mount, p3 + 0.0000001);Function.Call((Hash)0x6D3D87C57B3D52C7, ped, entity, mount, p3);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.