Game code
PED::SET_PED_CAPSULE
0x137CC21DC9B20A99 ·RVA 0x04BD8580
Signature
void SET_PED_CAPSULE(Ped ped, float value, 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 | float | value |
– |
| 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_CAPSULE
invoke<Void>(0x137CC21DC9B20A99, ped, value, p2);// PED::SET_PED_CAPSULE
Function.Call((Hash)0x137CC21DC9B20A99, ped, value, p2);-- PED::SET_PED_CAPSULE
Citizen.InvokeNative(0x137CC21DC9B20A99, ped, value, p2)// PED::SET_PED_CAPSULE
Citizen.invokeNative("0x137CC21DC9B20A99", ped, value, 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.