RedM Natives

_SET_STAGED_PED_FLAG

Sets ScriptData bit 0x8000 on the ped (one-way).

Hash0x028E7B3BBA0BD2FC
Runtime nameSetStagedPedFlag
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_STAGED_PED_FLAG(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns void

Description

alloc8or RDR3 NativeDB

Sets ScriptData bit 0x8000 on the ped (one-way). Used by scripts to mark a staged/special ped (e.g., scripted corpse) affecting cleanup/interaction.

VORPCORE RDR3natives

_SET_ST* - _SET_SW* Sets a ped config flag for the specified ped

Usage

Lua
SetStagedPedFlag(ped)

-- always works, by hash
Citizen.InvokeNative(0x028E7B3BBA0BD2FC, ped)
JavaScript and C#
JavaScript
SetStagedPedFlag(ped);

// by hash
Citizen.invokeNative('0x028E7B3BBA0BD2FC', ped);
C#
Function.Call((Hash)0x028E7B3BBA0BD2FC, ped);
  • 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.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.