RedM Natives

_REFRESH_CARRIED_PED_FOR_PED

Outputs the carried ped.

Hash0x6B67320E0D57856A
Runtime nameRefreshCarriedPedForPed
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _REFRESH_CARRIED_PED_FOR_PED(Ped ped, Ped* carriedPed, int p2, BOOL p3);

Parameters

NameTypeDescription
pedPed—
carriedPedPed*—
p2int—
p3BOOL—

Returns void

Description

alloc8or RDR3 NativeDB

Outputs the carried ped.
Params: p2 is alsways 2, p3 is always false.

VORPCORE RDR3natives

Retruns the carried ped

Usage

Lua
local carriedPed = RefreshCarriedPedForPed(ped, p2, p3)

-- always works, by hash
local carriedPed = Citizen.InvokeNative(0x6B67320E0D57856A, ped, Citizen.PointerValueInt(), p2, p3)
JavaScript and C#
JavaScript
const carriedPed = RefreshCarriedPedForPed(ped, p2, p3);

// by hash
const carriedPed = Citizen.invokeNative('0x6B67320E0D57856A', ped, Citizen.pointerValueInt(), p2, p3);
C#
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 InvokeNative with the hash — it always works.

Examples

LUA · VORPCORE RDR3natives
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.