RDR3 match
PED::GET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
0xF51D11EB6C918352 ·RVA 0x04BDD050
Signature
float GET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER(Ped ped);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
Returns
float
Call it
// PED::GET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
auto result = invoke<float>(0xF51D11EB6C918352, ped);// PED::GET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
float result = Function.Call<float>((Hash)0xF51D11EB6C918352, ped);-- PED::GET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
local result = Citizen.InvokeNative(0xF51D11EB6C918352, ped)// PED::GET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
const result = Citizen.invokeNative("0xF51D11EB6C918352", ped);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.