The Lab
PLAYER native

_SET_PLAYER_WEAPON_GROUP_AS_INSTANT_KILL

returns void3 paramsbuild 1207

Makes weapons in weaponGroup kill instantly for player when toggle is true.

Signature

C
void _SET_PLAYER_WEAPON_GROUP_AS_INSTANT_KILL(Player player, Hash weaponGroup, BOOL toggle); // 0x59F0AFF3E0A1B019 b1207

Parameters

#NameType
1playerPlayer
2weaponGroupHash
3toggleBOOL

Facts

Facts about _SET_PLAYER_WEAPON_GROUP_AS_INSTANT_KILL
Name
_SET_PLAYER_WEAPON_GROUP_AS_INSTANT_KILL
Hash
0x59F0AFF3E0A1B019
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x59F0AFF3E0A1B019, -- _SET_PLAYER_WEAPON_GROUP_AS_INSTANT_KILL
  PlayerId(), -- Player player
  GetHashKey("weapon_revolver_cattleman"), -- Hash weaponGroup
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x59F0AFF3E0A1B019", // _SET_PLAYER_WEAPON_GROUP_AS_INSTANT_KILL
  PlayerId(), // Player player
  GetHashKey("weapon_revolver_cattleman"), // Hash weaponGroup
  false // BOOL toggle
);
C#
Function.Call((Hash)0x59F0AFF3E0A1B019, // _SET_PLAYER_WEAPON_GROUP_AS_INSTANT_KILL
  API.PlayerId(), // Player player
  (uint)API.GetHashKey("weapon_revolver_cattleman"), // Hash weaponGroup
  false // BOOL toggle
);
All PLAYER natives

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