Game codeUnofficial name
PED::_FAKE_SET_PED_LOCO_INJURED
0xA7167B7E74C34F7E ·RVA 0x04BC9C30
Signature
void _FAKE_SET_PED_LOCO_INJURED(Ped ped, BOOL enabled, float 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 | BOOL | enabled |
– |
| 2 | float | 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 float.
Call it
// PED::_FAKE_SET_PED_LOCO_INJURED
invoke<Void>(0xA7167B7E74C34F7E, ped, enabled, p2);// PED::_FAKE_SET_PED_LOCO_INJURED
Function.Call((Hash)0xA7167B7E74C34F7E, ped, enabled, p2);-- PED::_FAKE_SET_PED_LOCO_INJURED
Citizen.InvokeNative(0xA7167B7E74C34F7E, ped, enabled, p2)// PED::_FAKE_SET_PED_LOCO_INJURED
Citizen.invokeNative("0xA7167B7E74C34F7E", ped, enabled, 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.