SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
Scales the weapon damage ped deals to players.
Signature
void SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER(Ped ped, float damageModifier); // 0xD77AE48611B7B10A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | damageModifier | float |
Facts
| Name | SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER |
|---|---|
| Hash | 0xD77AE48611B7B10A |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xD77AE48611B7B10A, -- SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
PlayerPedId(), -- Ped ped
0.0 -- float damageModifier
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xD77AE48611B7B10A", // SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
PlayerPedId(), // Ped ped
0.0 // float damageModifier
);Function.Call((Hash)0xD77AE48611B7B10A, // SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
API.PlayerPedId(), // Ped ped
0.0f // float damageModifier
);Related PED natives
- GET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
- SET_AI_MELEE_WEAPON_DAMAGE_MODIFIER
- SET_AI_WEAPON_DAMAGE_MODIFIER
- SET_PED_TO_INFORM_RESPECTED_FRIENDS
- SET_PED_TO_RAGDOLL
- SET_PED_TO_RAGDOLL_WITH_FALL
- _SET_PLAYER_CURRENT_ANIMAL_DAMAGE_MODIFIER
- SET_PED_CAN_BE_TARGETTED_BY_PLAYER
- SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT
- SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
- SET_PED_TARGET_LOSS_RESPONSE
- _APPLY_PED_DAMAGE_PACK_TO_BONE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.