_SET_PLAYER_CAN_MERCY_KILL
Allows or prevents player from performing mercy kills.
Signature
void _SET_PLAYER_CAN_MERCY_KILL(Player player, BOOL toggle); // 0x39363DFD04E91496 b1311Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | toggle | BOOL |
Facts
| Name | _SET_PLAYER_CAN_MERCY_KILL |
|---|---|
| Hash | 0x39363DFD04E91496 |
| Namespace | |
| Returns | void |
| Game build | 1311 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x39363DFD04E91496, -- _SET_PLAYER_CAN_MERCY_KILL
PlayerId(), -- Player player
false -- BOOL toggle
)Citizen.invokeNative("0x39363DFD04E91496", // _SET_PLAYER_CAN_MERCY_KILL
PlayerId(), // Player player
false // BOOL toggle
);Function.Call((Hash)0x39363DFD04E91496, // _SET_PLAYER_CAN_MERCY_KILL
API.PlayerId(), // Player player
false // BOOL toggle
);Related PLAYER natives
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_PLAYER_CAN_PICKUP_HAT
- _SET_PLAYER_WEAPON_GROUP_AS_INSTANT_KILL
- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
- _SET_PLAYER_AIM_WEAPON
- _SET_PLAYER_DAMAGE_INFO_OVERRIDE
- _SET_PLAYER_DEAD_EYE_AURA_BY_HASH
- _SET_PLAYER_DEFENSE_MODIFIER
- _SET_PLAYER_DEFENSE_TYPE_MODIFIER
- _SET_PLAYER_EXPLOSIVE_WEAPON_DAMAGE_MODIFIER
- _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_MP
- _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.