RedM Natives

SHOULD_USE_METRIC_MEASUREMENTS

Returns whether the game's measurement system is set to metric.

Hash0x4FB556ACEFA93098
Runtime nameShouldUseMetricMeasurements
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD3D15555431AB793

Signature

BOOL SHOULD_USE_METRIC_MEASUREMENTS();

Returns BOOL

Description

Returns whether the game's measurement system is set to metric.

Usage

Lua
local retval = ShouldUseMetricMeasurements()

-- always works, by hash
local retval = Citizen.InvokeNative(0x4FB556ACEFA93098, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = ShouldUseMetricMeasurements();

// by hash
const retval = Citizen.invokeNative('0x4FB556ACEFA93098', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x4FB556ACEFA93098);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.