The Lab
PLAYER native

_SECONDARY_SPECIAL_ABILITY_SET_DISABLED

returns void2 paramsbuild 1207

Disables or enables the secondary special ability of player.

Signature

C
void _SECONDARY_SPECIAL_ABILITY_SET_DISABLED(Player player, BOOL disabled); // 0x64FF4BF9AF59E139 b1207

Parameters

#NameType
1playerPlayer
2disabledBOOL

Facts

Facts about _SECONDARY_SPECIAL_ABILITY_SET_DISABLED
Name
_SECONDARY_SPECIAL_ABILITY_SET_DISABLED
Hash
0x64FF4BF9AF59E139
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(0x64FF4BF9AF59E139, -- _SECONDARY_SPECIAL_ABILITY_SET_DISABLED
  PlayerId(), -- Player player
  false -- BOOL disabled
)
JavaScript
Citizen.invokeNative("0x64FF4BF9AF59E139", // _SECONDARY_SPECIAL_ABILITY_SET_DISABLED
  PlayerId(), // Player player
  false // BOOL disabled
);
C#
Function.Call((Hash)0x64FF4BF9AF59E139, // _SECONDARY_SPECIAL_ABILITY_SET_DISABLED
  API.PlayerId(), // Player player
  false // BOOL disabled
);
All PLAYER natives

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