The Lab
PLAYER native

_SPECIAL_ABILITY_SET_DISABLED

returns void2 paramsbuild 1207

Disables or enables the special ability of player.

Signature

C
void _SPECIAL_ABILITY_SET_DISABLED(Player player, BOOL disabled); // 0xAE637BB8EF017875 b1207

Parameters

#NameType
1playerPlayer
2disabledBOOL

Facts

Facts about _SPECIAL_ABILITY_SET_DISABLED
Name
_SPECIAL_ABILITY_SET_DISABLED
Hash
0xAE637BB8EF017875
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(0xAE637BB8EF017875, -- _SPECIAL_ABILITY_SET_DISABLED
  PlayerId(), -- Player player
  false -- BOOL disabled
)
JavaScript
Citizen.invokeNative("0xAE637BB8EF017875", // _SPECIAL_ABILITY_SET_DISABLED
  PlayerId(), // Player player
  false // BOOL disabled
);
C#
Function.Call((Hash)0xAE637BB8EF017875, // _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.