RedM Natives

_GET_WHISTLE_RANGE_MAX_FOR_BONDING_LEVEL

Returns the maximum (target) whistle/call distance associated with the next horse bonding level.

Hash0x78D8C1D4EB80C588
Runtime nameGetWhistleRangeMaxForBondingLevel
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

float _GET_WHISTLE_RANGE_MAX_FOR_BONDING_LEVEL(int bondingLevel);

Parameters

NameTypeDescription
bondingLevelint—

Returns float

Description

Returns the maximum (target) whistle/call distance associated with the next horse bonding level.
Used together with the current level's minimum to derive an effective whistle range based on the horse's bonding progress toward the next rank.

Usage

Lua
local retval = GetWhistleRangeMaxForBondingLevel(bondingLevel)

-- always works, by hash
local retval = Citizen.InvokeNative(0x78D8C1D4EB80C588, bondingLevel, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetWhistleRangeMaxForBondingLevel(bondingLevel);

// by hash
const retval = Citizen.invokeNative('0x78D8C1D4EB80C588', bondingLevel, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x78D8C1D4EB80C588, bondingLevel);
  • 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.

Sources

alloc8or RDR3 NativeDB

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