RDR3 match
PED::GET_PED_CURRENT_MOVE_BLEND_RATIO
0x2D3AC8F409FE9A1E ·RVA 0x04BCC240
Signature
BOOL GET_PED_CURRENT_MOVE_BLEND_RATIO(
Ped ped,
float* speedX,
float* speedY
);
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* | speedX |
– |
| 2 | float* | speedY |
– |
Returns
BOOL
Call it
// PED::GET_PED_CURRENT_MOVE_BLEND_RATIO
auto result = invoke<BOOL>(0x2D3AC8F409FE9A1E, ped, &speedX, &speedY);// PED::GET_PED_CURRENT_MOVE_BLEND_RATIO
bool result = Function.Call<bool>((Hash)0x2D3AC8F409FE9A1E, ped, speedX, speedY);-- PED::GET_PED_CURRENT_MOVE_BLEND_RATIO
local result = Citizen.InvokeNative(0x2D3AC8F409FE9A1E, ped, speedX, speedY)// PED::GET_PED_CURRENT_MOVE_BLEND_RATIO
const result = Citizen.invokeNative("0x2D3AC8F409FE9A1E", ped, speedX, speedY);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.