RDR3 match
PED::IS_PED_BEING_STUNNED
0x4BEC7117B045331C ·RVA 0x04BCFDC0
Signature
BOOL IS_PED_BEING_STUNNED(Ped ped, Hash weaponType);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash | weaponType |
– |
Returns
BOOL
Call it
// PED::IS_PED_BEING_STUNNED
auto result = invoke<BOOL>(0x4BEC7117B045331C, ped, weaponType);// PED::IS_PED_BEING_STUNNED
bool result = Function.Call<bool>((Hash)0x4BEC7117B045331C, ped, weaponType);-- PED::IS_PED_BEING_STUNNED
local result = Citizen.InvokeNative(0x4BEC7117B045331C, ped, weaponType)// PED::IS_PED_BEING_STUNNED
const result = Citizen.invokeNative("0x4BEC7117B045331C", ped, weaponType);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.