Game codeUnofficial name
PED::_SET_PED_INCAPACITATION_FLAGS
0x307E45B8298490C4 ·RVA 0x04BD8B40
Signature
void _SET_PED_INCAPACITATION_FLAGS(Ped ped, int flags, BOOL p2);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | int | flags |
– |
| 2 | BOOL | p2 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p2 is not in RDR3's signature; the game reads it as a true/false value.
Call it
// PED::_SET_PED_INCAPACITATION_FLAGS
invoke<Void>(0x307E45B8298490C4, ped, flags, p2);// PED::_SET_PED_INCAPACITATION_FLAGS
Function.Call((Hash)0x307E45B8298490C4, ped, flags, p2);-- PED::_SET_PED_INCAPACITATION_FLAGS
Citizen.InvokeNative(0x307E45B8298490C4, ped, flags, p2)// PED::_SET_PED_INCAPACITATION_FLAGS
Citizen.invokeNative("0x307E45B8298490C4", ped, flags, p2);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.