IS_PED_BEING_STUNNED
Returns true while ped is being stunned by weaponType.
Signature
BOOL IS_PED_BEING_STUNNED(Ped ped, Hash weaponType); // 0x4FBACCE3B4138EE8 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | weaponType | Hash |
Facts
| Name | IS_PED_BEING_STUNNED |
|---|---|
| Hash | 0x4FBACCE3B4138EE8 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x4FBACCE3B4138EE8, -- IS_PED_BEING_STUNNED
PlayerPedId(), -- Ped ped
GetHashKey("weapon_revolver_cattleman") -- Hash weaponType
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x4FBACCE3B4138EE8", // IS_PED_BEING_STUNNED
PlayerPedId(), // Ped ped
GetHashKey("weapon_revolver_cattleman"), // Hash weaponType
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x4FBACCE3B4138EE8, // IS_PED_BEING_STUNNED
API.PlayerPedId(), // Ped ped
(uint)API.GetHashKey("weapon_revolver_cattleman") // Hash weaponType
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.