_GET_WHISTLE_RANGE_MIN_FOR_BONDING_LEVEL
Returns the minimum (baseline) whistle/call distance for the given horse bonding level.
0xEB67D4E056C85A81GetWhistleRangeMinForBondingLevelSignature
float _GET_WHISTLE_RANGE_MIN_FOR_BONDING_LEVEL(int bondingLevel);Parameters
| Name | Type | Description |
|---|---|---|
bondingLevel | int | — |
Returns float
Description
Returns the minimum (baseline) whistle/call distance for the given horse bonding level.
This value represents the lower bound used when computing whether a horse is considered "near" or "far" relative to the player, and is interpolated against the next level's max.
Returns the minimum (baseline) whistle/call distance for the given horse bonding level.
This value represents the lower bound used when computing whether a horse is considered near or far relative to the player, and is interpolated against the next level's max.
Usage
local retval = GetWhistleRangeMinForBondingLevel(bondingLevel)
-- always works, by hash
local retval = Citizen.InvokeNative(0xEB67D4E056C85A81, bondingLevel, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetWhistleRangeMinForBondingLevel(bondingLevel);
// by hash
const retval = Citizen.invokeNative('0xEB67D4E056C85A81', bondingLevel, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0xEB67D4E056C85A81, bondingLevel);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.