RedM Natives

IS_PED_USING_ACTION_MODE

Hash0x5AE7EDA2
Runtime nameIsPedUsingActionMode
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

bool IS_PED_USING_ACTION_MODE(Ped ped);

Parameters

NameTypeDescription
pedPed

The target ped.

Returns bool — Whether or not the ped is using action mode.

Usage

Lua
local retval = IsPedUsingActionMode(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x5ae7eda2, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedUsingActionMode(ped);

// by hash
const retval = Citizen.invokeNative('0x5ae7eda2', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x5ae7eda2, ped);

Sources

Cfx.re native reference

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