{"hash":"0x7ABE7095FB3D2581","ns":"HUD","name":"_UI_PROMPT_SET_ROTATE_MODE","slug":"_UI_PROMPT_SET_ROTATE_MODE","official":false,"named":true,"luaName":"UiPromptSetRotateMode","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"prompt","type":"Prompt"},{"name":"p1","type":"float"},{"name":"counterclockwise","type":"BOOL"}],"summary":"Used for controllers","descriptions":[{"source":"alloc8or","format":"text","body":"Used for controllers"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_SET_ROTATE_MODE","markdownUrl":"https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_SET_ROTATE_MODE.md","snippets":{"lua":"UiPromptSetRotateMode(prompt, p1, counterclockwise)","luaInvoke":"Citizen.InvokeNative(0x7ABE7095FB3D2581, prompt, p1, counterclockwise)","js":"UiPromptSetRotateMode(prompt, p1, counterclockwise);","jsInvoke":"Citizen.invokeNative('0x7ABE7095FB3D2581', prompt, p1 + 0.0000001, counterclockwise);","csharp":"Function.Call((Hash)0x7ABE7095FB3D2581, prompt, p1, counterclockwise);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","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."]}}