{"hash":"0x6D2F987736A42D4C","ns":"INVENTORY","name":"_INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS","slug":"_INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS","official":false,"named":true,"luaName":"InventorySetInventoryItemWeatherEffectiveness","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"inventoryId","type":"int"},{"name":"guid","type":"Any*"},{"name":"weatherEffectiveness","type":"int"}],"summary":"OWE_GOOD_IN_HOT OWE_GOOD_IN_NONE OWE_GOOD_IN_COLD OWE_GOOD_IN_ALL","descriptions":[{"source":"alloc8or","format":"text","body":"OWE_INVALID = -1,\nOWE_GOOD_IN_HOT\nOWE_GOOD_IN_NONE\nOWE_GOOD_IN_COLD\nOWE_GOOD_IN_ALL"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS.md","snippets":{"lua":"local guid = InventorySetInventoryItemWeatherEffectiveness(inventoryId, weatherEffectiveness)","luaInvoke":"local guid = Citizen.InvokeNative(0x6D2F987736A42D4C, inventoryId, Citizen.PointerValueInt(), weatherEffectiveness)","js":"const guid = InventorySetInventoryItemWeatherEffectiveness(inventoryId, weatherEffectiveness);","jsInvoke":"const guid = Citizen.invokeNative('0x6D2F987736A42D4C', inventoryId, Citizen.pointerValueInt(), weatherEffectiveness);","csharp":"var guid = new OutputArgument();\nFunction.Call((Hash)0x6D2F987736A42D4C, inventoryId, guid, weatherEffectiveness);\n// guid.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.","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."]}}