_MODIFY_PLAYER_UI_PROMPT
Enables or disables a UI prompt of the given type and mode for player.
Signature
void _MODIFY_PLAYER_UI_PROMPT(Player player, int promptType, int promptMode, BOOL disabled); // 0x0751D461F06E41CE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | promptType | int |
| 3 | promptMode | int |
| 4 | disabled | BOOL |
Facts
| Name | _MODIFY_PLAYER_UI_PROMPT |
|---|---|
| Hash | 0x0751D461F06E41CE |
| 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(0x0751D461F06E41CE, -- _MODIFY_PLAYER_UI_PROMPT
PlayerId(), -- Player player
0, -- int promptType
0, -- int promptMode
false -- BOOL disabled
)Citizen.invokeNative("0x0751D461F06E41CE", // _MODIFY_PLAYER_UI_PROMPT
PlayerId(), // Player player
0, // int promptType
0, // int promptMode
false // BOOL disabled
);Function.Call((Hash)0x0751D461F06E41CE, // _MODIFY_PLAYER_UI_PROMPT
API.PlayerId(), // Player player
0, // int promptType
0, // int promptMode
false // BOOL disabled
);Related PLAYER natives
- _MODIFY_PLAYER_UI_PROMPT_FOR_PED
- _MODIFY_PLAYER_DISCOVERED_CHARACTER_NAME_MP_SET_UNDISCOVERED
- _GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED
- _GET_PLAYER_UI_PROMPT_IS_DISABLED
- GET_IS_PLAYER_UI_PROMPT_ACTIVE
- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
- _SET_PLAYER_PROMPT_LEAVE_TEXT
- _SET_PLAYER_PROMPT_MELEE_TEXT
- _SET_PLAYER_PROMPT_SIT_TEXT
- _MODIFY_INFINITE_TRAIL_VISION
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET_AT_COORDS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.