RedM Natives

_GET_IS_PED_BEING_ROBBED

If p2 is false, then this native will return true until the interaction is complete.

Hash0xE33F98BD76490ABC
Runtime nameGetIsPedBeingRobbed
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_IS_PED_BEING_ROBBED(Ped ped, Player player, BOOL trueUntilPlayerPocketsItem);

Parameters

NameTypeDescription
pedPed—
playerPlayer—
trueUntilPlayerPocketsItemBOOL—

Returns BOOL

Description

If p2 is false, then this native will return true until the interaction is complete. If true, the native will return true until player pockets robbery item.
_GET_IS_PED_[M-R]*

Usage

Lua
local retval = GetIsPedBeingRobbed(ped, player, trueUntilPlayerPocketsItem)

-- always works, by hash
local retval = Citizen.InvokeNative(0xE33F98BD76490ABC, ped, player, trueUntilPlayerPocketsItem, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetIsPedBeingRobbed(ped, player, trueUntilPlayerPocketsItem);

// by hash
const retval = Citizen.invokeNative('0xE33F98BD76490ABC', ped, player, trueUntilPlayerPocketsItem, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xE33F98BD76490ABC, ped, player, trueUntilPlayerPocketsItem);
  • 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

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