{"hash":"0xE47DD64B9F02677D","ns":"TASK","name":"_FIND_MODEL_FOR_ITEM","slug":"_FIND_MODEL_FOR_ITEM","official":false,"named":true,"luaName":"FindModelForItem","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"item","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/TASK/_FIND_MODEL_FOR_ITEM","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_FIND_MODEL_FOR_ITEM.md","snippets":{"lua":"local retval = FindModelForItem(item)","luaInvoke":"local retval = Citizen.InvokeNative(0xE47DD64B9F02677D, item, Citizen.ResultAsInteger())","js":"const retval = FindModelForItem(item);","jsInvoke":"const retval = Citizen.invokeNative('0xE47DD64B9F02677D', item, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xE47DD64B9F02677D, item);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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."]}}