_SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
Based on its name and signature, here is our best reading:
Sets a persona ability flag for the local player.
Signature
void _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG(int flagId, BOOL toggle); // 0x7146CF430965927C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | flagId | int |
| 2 | toggle | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x7146CF430965927C, -- _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
0, -- int flagId
false -- BOOL toggle
)Citizen.invokeNative("0x7146CF430965927C", // _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
0, // int flagId
false // BOOL toggle
);Function.Call((Hash)0x7146CF430965927C, // _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
0, // int flagId
false // BOOL toggle
);Related PLAYER natives
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_PLAYER_LOCAL_ACCURACY_FLOOR_MODIFIER
- _SET_PLAYER_RESET_FLAG
- _SET_AI_PLAYER_DEFENSE_MODIFIER_AGAINST_AI
- _SET_DEADEYE_ABILITY_DEPLETION_DELAY
- _SET_DEADEYE_ABILITY_LEVEL
- _SET_DEADEYE_ABILITY_LOCKED
- _SET_DISABLE_PLAYER_WANTED_LEVEL
- _SET_PED_ACTIVE_PLAYER_HORSE
- _SET_PED_AS_SADDLE_HORSE_FOR_PLAYER
- _SET_PLAYER_AIM_WEAPON
- _SET_PLAYER_CAN_MERCY_KILL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.