{"hash":"0x0FAF95D71ED67ADE","ns":"PLAYER","name":"_SET_PLAYER_PROMPT_MELEE_TEXT","slug":"_SET_PLAYER_PROMPT_MELEE_TEXT","official":false,"named":true,"luaName":"SetPlayerPromptMeleeText","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"player","type":"Player"},{"name":"promptTextKey","type":"const char*"}],"summary":"Sets the melee combat prompt for a specific player using a predefined text entry.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the melee combat prompt for a specific player using a predefined text entry.\nExample usage:\nPLAYER::_SET_PLAYER_PROMPT_MELEE_TEXT(PLAYER::PLAYER_ID(), MISC::VAR_STRING(10, \"LITERAL_STRING\", \"Throw Punch\"));\nThe prompt for player during melee combat uses this text.\nScreenshot: https://imgur.com/gallery/0x0faf95d71ed67ade-GDYsE9L"},{"source":"vorp","format":"text","body":"Sets the melee combat prompt for a specific player using a predefined text entry. use game string or \nAddTextEntry(\"custom_text\", \"Throw a punch\") and use custom_text in the native"}],"examples":[],"aliases":["_SET_PLAYER_MELEE_PROMPT_TEXT"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_PROMPT_MELEE_TEXT","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_PROMPT_MELEE_TEXT.md","snippets":{"lua":"SetPlayerPromptMeleeText(player, promptTextKey)","luaInvoke":"Citizen.InvokeNative(0x0FAF95D71ED67ADE, player, promptTextKey)","js":"SetPlayerPromptMeleeText(player, promptTextKey);","jsInvoke":"Citizen.invokeNative('0x0FAF95D71ED67ADE', player, promptTextKey);","csharp":"Function.Call((Hash)0x0FAF95D71ED67ADE, player, promptTextKey);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}