_SET_PLAYER_PROMPT_MELEE_TEXT
Replaces the text of the melee prompt for player with the text label promptTextKey.
Signature
void _SET_PLAYER_PROMPT_MELEE_TEXT(Player player, const char* promptTextKey); // 0x0FAF95D71ED67ADE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | promptTextKey | const char* |
Facts
| Name | _SET_PLAYER_PROMPT_MELEE_TEXT |
|---|---|
| Hash | 0x0FAF95D71ED67ADE |
| 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(0x0FAF95D71ED67ADE, -- _SET_PLAYER_PROMPT_MELEE_TEXT
PlayerId(), -- Player player
"text" -- const char* promptTextKey
)Citizen.invokeNative("0x0FAF95D71ED67ADE", // _SET_PLAYER_PROMPT_MELEE_TEXT
PlayerId(), // Player player
"text" // const char* promptTextKey
);Function.Call((Hash)0x0FAF95D71ED67ADE, // _SET_PLAYER_PROMPT_MELEE_TEXT
API.PlayerId(), // Player player
"text" // const char* promptTextKey
);Related PLAYER natives
- _SET_PLAYER_PROMPT_LEAVE_TEXT
- _SET_PLAYER_PROMPT_SIT_TEXT
- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
- _SET_PLAYER_AIM_WEAPON
- _SET_PLAYER_CAN_MERCY_KILL
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_PLAYER_CAN_PICKUP_HAT
- _SET_PLAYER_DAMAGE_INFO_OVERRIDE
- _SET_PLAYER_DEAD_EYE_AURA_BY_HASH
- _SET_PLAYER_DEFENSE_MODIFIER
- _SET_PLAYER_DEFENSE_TYPE_MODIFIER
- _SET_PLAYER_EXPLOSIVE_WEAPON_DAMAGE_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.