The Lab
PLAYER native

_SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Sets a persona ability flag for the local player.

Signature

C
void _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG(int flagId, BOOL toggle); // 0x7146CF430965927C b1207

Parameters

#NameType
1flagIdint
2toggleBOOL

Facts

Facts about _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
Name
_SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
Hash
0x7146CF430965927C
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(0x7146CF430965927C, -- _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
  0, -- int flagId
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x7146CF430965927C", // _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
  0, // int flagId
  false // BOOL toggle
);
C#
Function.Call((Hash)0x7146CF430965927C, // _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
  0, // int flagId
  false // BOOL toggle
);
All PLAYER natives

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