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