_GET_CARRIER_AS_MOUNT
Returns the mount carrying entity, if any.
Signature
Ped _GET_CARRIER_AS_MOUNT(Entity entity); // 0xA033D7E4BBF9844D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | _GET_CARRIER_AS_MOUNT |
|---|---|
| Hash | 0xA033D7E4BBF9844D |
| Namespace | |
| Returns | Ped |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local ped = Citizen.InvokeNative(0xA033D7E4BBF9844D, -- _GET_CARRIER_AS_MOUNT
PlayerPedId(), -- Entity entity
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0xA033D7E4BBF9844D", // _GET_CARRIER_AS_MOUNT
PlayerPedId(), // Entity entity
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0xA033D7E4BBF9844D, // _GET_CARRIER_AS_MOUNT
API.PlayerPedId() // Entity entity
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.