{"hash":"0x06C3DB00B69D5435","ns":"PLAYER","name":"_SET_PLAYER_PROMPT_LEAVE_TEXT","slug":"_SET_PLAYER_PROMPT_LEAVE_TEXT","official":false,"named":true,"luaName":"SetPlayerPromptLeaveText","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"player","type":"Player"},{"name":"promptTextKey","type":"const char*"}],"summary":"Sets the stand prompt for a specific player using a predefined text entry.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the stand prompt for a specific player using a predefined text entry.\nExample usage:\nPLAYER::_SET_PLAYER_PROMPT_LEAVE_TEXT(PLAYER::PLAYER_ID(), MISC::VAR_STRING(10, \"LITERAL_STRING\", \"Get on your feet\"));\nThe prompt for player to stand uses this text.\nScreenshot: https://imgur.com/gallery/rdrnative-kscnRlF"},{"source":"vorp","format":"text","body":"Sets the stand prompt for a specific player using a predefined text entry. use AddTextEntry for promptTextKey for custom names"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1232","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_PROMPT_LEAVE_TEXT","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_PROMPT_LEAVE_TEXT.md","snippets":{"lua":"SetPlayerPromptLeaveText(player, promptTextKey)","luaInvoke":"Citizen.InvokeNative(0x06C3DB00B69D5435, player, promptTextKey)","js":"SetPlayerPromptLeaveText(player, promptTextKey);","jsInvoke":"Citizen.invokeNative('0x06C3DB00B69D5435', player, promptTextKey);","csharp":"Function.Call((Hash)0x06C3DB00B69D5435, 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."]}}