The Lab
INVENTORY native

_INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS

returns void3 paramsbuild 1207

Sets the weather effectiveness value of the item at guid, as used for clothing warmth.

Signature

C
void _INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS(int inventoryId, Any* guid, int weatherEffectiveness); // 0x6D2F987736A42D4C b1207

Parameters

#NameType
1inventoryIdint
2guidAny* (out pointer)
3weatherEffectivenessint

Facts

Facts about _INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS
Name
_INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS
Hash
0x6D2F987736A42D4C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local guid = Citizen.InvokeNative(0x6D2F987736A42D4C, -- _INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS
  0, -- int inventoryId
  Citizen.PointerValueInt(), -- Any* guid
  0 -- int weatherEffectiveness
)
print(guid)
JavaScript
const guid = Citizen.invokeNative("0x6D2F987736A42D4C", // _INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS
  0, // int inventoryId
  Citizen.pointerValueInt(), // Any* guid
  0 // int weatherEffectiveness
);
console.log(guid)
C#
var guidArg = new OutputArgument();
Function.Call((Hash)0x6D2F987736A42D4C, // _INVENTORY_SET_INVENTORY_ITEM_WEATHER_EFFECTIVENESS
  0, // int inventoryId
  guidArg, // Any* guid
  0 // int weatherEffectiveness
);
int guid = guidArg.GetResult<int>();
All INVENTORY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.