RDR3 match
PED::FORCE_PED_MOTION_STATE
0xB0A8F2350D769A2F ·RVA 0x04BCA100
Signature
BOOL FORCE_PED_MOTION_STATE(
Ped ped,
Hash motionStateHash,
BOOL p2,
int p3,
BOOL p4
);
The scripts pass 6 values to this native; the decoded signature lists 5 (arguments the game doesn't read are left out).
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash | motionStateHash |
– |
| 2 | BOOL | p2 |
the game doesn't read it. |
| 3 | int | p3 |
– |
| 4 | BOOL | p4 |
– |
Returns
BOOL
Call it
// PED::FORCE_PED_MOTION_STATE
auto result = invoke<BOOL>(0xB0A8F2350D769A2F, ped, motionStateHash, p2, p3, p4);// PED::FORCE_PED_MOTION_STATE
bool result = Function.Call<bool>((Hash)0xB0A8F2350D769A2F, ped, motionStateHash, p2, p3, p4);-- PED::FORCE_PED_MOTION_STATE
local result = Citizen.InvokeNative(0xB0A8F2350D769A2F, ped, motionStateHash, p2, p3, p4)// PED::FORCE_PED_MOTION_STATE
const result = Citizen.invokeNative("0xB0A8F2350D769A2F", ped, motionStateHash, p2, p3, p4);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.