{"hash":"0xCAAF2BCCFEF37F77","ns":"OBJECT","name":"_SET_OBJECT_INTERACTION_PRESET","slug":"_SET_OBJECT_INTERACTION_PRESET","official":false,"named":true,"luaName":"SetObjectInteractionPreset","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"object","type":"Object"},{"name":"presetFlags","type":"int"}],"summary":"Writes an interaction state/flags byte and sets an expiry.","descriptions":[{"source":"alloc8or","format":"text","body":"Writes an interaction state/flags byte and sets an expiry.\nLower 3 bits = timeout preset: 0=none, 1=5s, 2=30s, 3=60s, 4=120s (5=custom, unused here).\nBits 3-5 = category (0-7). Bit 6 (0x40) = extra behavior flag.\nExamples: https://pastebin.com/mwAi5iQY"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_SET_OBJECT_INTERACTION_PRESET","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_SET_OBJECT_INTERACTION_PRESET.md","snippets":{"lua":"SetObjectInteractionPreset(object, presetFlags)","luaInvoke":"Citizen.InvokeNative(0xCAAF2BCCFEF37F77, object, presetFlags)","js":"SetObjectInteractionPreset(object, presetFlags);","jsInvoke":"Citizen.invokeNative('0xCAAF2BCCFEF37F77', object, presetFlags);","csharp":"Function.Call((Hash)0xCAAF2BCCFEF37F77, object, presetFlags);","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."]}}