The Lab
MISC native

_SHOULD_USE_METRIC_TEMPERATURE

returns BOOL0 paramsbuild 1207

Returns true if the player's settings display temperature in Celsius.

Signature

C
BOOL _SHOULD_USE_METRIC_TEMPERATURE(); // 0xFF4AAF3275BAAB4F b1207

Parameters

This native takes no parameters.

Facts

Facts about _SHOULD_USE_METRIC_TEMPERATURE
Name
_SHOULD_USE_METRIC_TEMPERATURE
Hash
0xFF4AAF3275BAAB4F
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xFF4AAF3275BAAB4F) -- _SHOULD_USE_METRIC_TEMPERATURE
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xFF4AAF3275BAAB4F", // _SHOULD_USE_METRIC_TEMPERATURE
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xFF4AAF3275BAAB4F); // _SHOULD_USE_METRIC_TEMPERATURE
All MISC natives

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