{"hash":"0xB796970BD125FCE8","ns":"HUD","name":"_UI_PROMPT_GET_GROUP_ID_FOR_TARGET_ENTITY","slug":"_UI_PROMPT_GET_GROUP_ID_FOR_TARGET_ENTITY","official":false,"named":true,"luaName":"UiPromptGetGroupIdForTargetEntity","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"entity","type":"Entity"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_GET_GROUP_ID_FOR_TARGET_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_GET_GROUP_ID_FOR_TARGET_ENTITY.md","snippets":{"lua":"local retval = UiPromptGetGroupIdForTargetEntity(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0xB796970BD125FCE8, entity, Citizen.ResultAsInteger())","js":"const retval = UiPromptGetGroupIdForTargetEntity(entity);","jsInvoke":"const retval = Citizen.invokeNative('0xB796970BD125FCE8', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xB796970BD125FCE8, entity);","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."]}}