_GET_IS_PED_BEING_ROBBED
If p2 is false, then this native will return true until the interaction is complete.
Hash
0xE33F98BD76490ABCRuntime name
GetIsPedBeingRobbedNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _GET_IS_PED_BEING_ROBBED(Ped ped, Player player, BOOL trueUntilPlayerPocketsItem);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
player | Player | — |
trueUntilPlayerPocketsItem | BOOL | — |
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
local retval = GetIsPedBeingRobbed(ped, player, trueUntilPlayerPocketsItem)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE33F98BD76490ABC, ped, player, trueUntilPlayerPocketsItem, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetIsPedBeingRobbed(ped, player, trueUntilPlayerPocketsItem);
// by hash
const retval = Citizen.invokeNative('0xE33F98BD76490ABC', ped, player, trueUntilPlayerPocketsItem, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.