The Lab
PLAYER native

_SET_PLAYER_CAN_MERCY_KILL

returns void2 paramsbuild 1311

Allows or prevents player from performing mercy kills.

Signature

C
void _SET_PLAYER_CAN_MERCY_KILL(Player player, BOOL toggle); // 0x39363DFD04E91496 b1311

Parameters

#NameType
1playerPlayer
2toggleBOOL

Facts

Facts about _SET_PLAYER_CAN_MERCY_KILL
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.

Lua
Citizen.InvokeNative(0x39363DFD04E91496, -- _SET_PLAYER_CAN_MERCY_KILL
  PlayerId(), -- Player player
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x39363DFD04E91496", // _SET_PLAYER_CAN_MERCY_KILL
  PlayerId(), // Player player
  false // BOOL toggle
);
C#
Function.Call((Hash)0x39363DFD04E91496, // _SET_PLAYER_CAN_MERCY_KILL
  API.PlayerId(), // Player player
  false // BOOL toggle
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.