_SET_PED_KNOCKED_BY_ONE_HIT
Based on its name and signature, here is our best reading:
Appears to control whether ped is knocked down by a single hit.
Signature
void _SET_PED_KNOCKED_BY_ONE_HIT(Ped ped, float p1); // 0x5BCF0B79D4F5DBA3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | float |
Facts
| Name | _SET_PED_KNOCKED_BY_ONE_HIT |
|---|---|
| Hash | 0x5BCF0B79D4F5DBA3 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x5BCF0B79D4F5DBA3, -- _SET_PED_KNOCKED_BY_ONE_HIT
PlayerPedId(), -- Ped ped
0.0 -- float p1
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x5BCF0B79D4F5DBA3", // _SET_PED_KNOCKED_BY_ONE_HIT
PlayerPedId(), // Ped ped
0.0 // float p1
);Function.Call((Hash)0x5BCF0B79D4F5DBA3, // _SET_PED_KNOCKED_BY_ONE_HIT
API.PlayerPedId(), // Ped ped
0.0f // float p1
);Related PED natives
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_ACTIVATE_WOUND_EFFECT
- _SET_PED_ACTIVE_PLAYER_TYPE
- _SET_PED_ANIMAL_DETECTION_MODIFIER
- _SET_PED_BEAT_MULTIPLIER
- _SET_PED_BLACKBOARD_BOOL
- _SET_PED_BLACKBOARD_FLOAT
- _SET_PED_BLACKBOARD_HASH
- _SET_PED_BLACKBOARD_INT
- _SET_PED_BLEEDOUT_PROFILE
- _SET_PED_BRAWLING_STYLE
- _SET_PED_CAN_BE_LASSOED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.