_REFRESH_CARRIED_PED_FOR_PED
Outputs the carried ped.
Hash
0x6B67320E0D57856ARuntime name
RefreshCarriedPedForPedNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _REFRESH_CARRIED_PED_FOR_PED(Ped ped, Ped* carriedPed, int p2, BOOL p3);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
carriedPed | Ped* | — |
p2 | int | — |
p3 | BOOL | — |
Returns void
Description
Outputs the carried ped.
Params: p2 is alsways 2, p3 is always false.
Retruns the carried ped
Usage
local carriedPed = RefreshCarriedPedForPed(ped, p2, p3)
-- always works, by hash
local carriedPed = Citizen.InvokeNative(0x6B67320E0D57856A, ped, Citizen.PointerValueInt(), p2, p3)JavaScript and C#
const carriedPed = RefreshCarriedPedForPed(ped, p2, p3);
// by hash
const carriedPed = Citizen.invokeNative('0x6B67320E0D57856A', ped, Citizen.pointerValueInt(), p2, p3);var carriedPed = new OutputArgument();
Function.Call((Hash)0x6B67320E0D57856A, ped, carriedPed, p2, p3);
// carriedPed.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Examples
local carriedPed = Citizen.InvokeNative(0x6B67320E0D57856A, PlayerPedId(), Citizen.PointerValueInt(), 2,false)Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.