_MODIFY_PLAYER_UI_PROMPT_FOR_PED
Enables or disables a UI prompt of the given type and mode for player when interacting with ped.
Signature
void _MODIFY_PLAYER_UI_PROMPT_FOR_PED(Player player, Ped ped, int promptType, int promptMode, BOOL enabled); // 0xA3DB37EDF9A74635 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | ped | Ped |
| 3 | promptType | int |
| 4 | promptMode | int |
| 5 | enabled | BOOL |
Facts
| Name | _MODIFY_PLAYER_UI_PROMPT_FOR_PED |
|---|---|
| Hash | 0xA3DB37EDF9A74635 |
| 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(0xA3DB37EDF9A74635, -- _MODIFY_PLAYER_UI_PROMPT_FOR_PED
PlayerId(), -- Player player
PlayerPedId(), -- Ped ped
0, -- int promptType
0, -- int promptMode
false -- BOOL enabled
)Citizen.invokeNative("0xA3DB37EDF9A74635", // _MODIFY_PLAYER_UI_PROMPT_FOR_PED
PlayerId(), // Player player
PlayerPedId(), // Ped ped
0, // int promptType
0, // int promptMode
false // BOOL enabled
);Function.Call((Hash)0xA3DB37EDF9A74635, // _MODIFY_PLAYER_UI_PROMPT_FOR_PED
API.PlayerId(), // Player player
API.PlayerPedId(), // Ped ped
0, // int promptType
0, // int promptMode
false // BOOL enabled
);Related PLAYER natives
- _MODIFY_PLAYER_UI_PROMPT
- _GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED
- _MODIFY_PLAYER_DISCOVERED_CHARACTER_NAME_MP_SET_UNDISCOVERED
- _CLEAR_PED_EAGLE_EYE_TRAILS_FOR_PLAYER
- _GET_PLAYER_UI_PROMPT_IS_DISABLED
- _SET_PED_AS_SADDLE_HORSE_FOR_PLAYER
- GET_IS_PLAYER_UI_PROMPT_ACTIVE
- _GET_ACTIVE_HORSE_FOR_PLAYER
- _GET_PLAYER_PED_2
- _GET_SADDLE_HORSE_FOR_PLAYER
- _HAS_PLAYER_DAMAGED_RECENTLY_ATTACKED_PED
- _NETWORK_HAS_PLAYER_VALID_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.