{"hash":"0x870708A6E147A9AD","ns":"MISC","name":"REGISTER_INTERACTION_LOCKON_PROMPT","slug":"REGISTER_INTERACTION_LOCKON_PROMPT","official":true,"named":true,"luaName":"RegisterInteractionLockonPrompt","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"entity","type":"Entity"},{"name":"text","type":"const char*"},{"name":"radius","type":"float"},{"name":"p3","type":"float"},{"name":"flag","type":"int"},{"name":"p5","type":"float"},{"name":"p6","type":"float"},{"name":"prompt","type":"Prompt"},{"name":"p8","type":"BOOL"},{"name":"p9","type":"int"}],"summary":"p3 is usually the same value of radius p8 determines whether the ILO prompt is a lock on prompt with RMB","descriptions":[{"source":"alloc8or","format":"text","body":"p3 is usually the same value of radius\np8 determines whether the ILO prompt is a lock on prompt with RMB"}],"examples":[],"aliases":[],"enums":[],"related":["0xE98D55C5983F2509"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/REGISTER_INTERACTION_LOCKON_PROMPT","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/REGISTER_INTERACTION_LOCKON_PROMPT.md","snippets":{"lua":"local retval = RegisterInteractionLockonPrompt(entity, text, radius, p3, flag, p5, p6, prompt, p8, p9)","luaInvoke":"local retval = Citizen.InvokeNative(0x870708A6E147A9AD, entity, text, radius, p3, flag, p5, p6, prompt, p8, p9, Citizen.ReturnResultAnyway())","js":"const retval = RegisterInteractionLockonPrompt(entity, text, radius, p3, flag, p5, p6, prompt, p8, p9);","jsInvoke":"const retval = Citizen.invokeNative('0x870708A6E147A9AD', entity, text, radius + 0.0000001, p3 + 0.0000001, flag, p5 + 0.0000001, p6 + 0.0000001, prompt, p8, p9, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x870708A6E147A9AD, entity, text, radius, p3, flag, p5, p6, prompt, p8, p9);","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."]}}