_GET_WHISTLE_RANGE_MAX_FOR_BONDING_LEVEL
Returns the maximum (target) whistle/call distance associated with the next horse bonding level.
Hash
0x78D8C1D4EB80C588Runtime name
GetWhistleRangeMaxForBondingLevelNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
float _GET_WHISTLE_RANGE_MAX_FOR_BONDING_LEVEL(int bondingLevel);Parameters
| Name | Type | Description |
|---|---|---|
bondingLevel | int | — |
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
local retval = GetWhistleRangeMaxForBondingLevel(bondingLevel)
-- always works, by hash
local retval = Citizen.InvokeNative(0x78D8C1D4EB80C588, bondingLevel, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetWhistleRangeMaxForBondingLevel(bondingLevel);
// by hash
const retval = Citizen.invokeNative('0x78D8C1D4EB80C588', bondingLevel, Citizen.returnResultAnyway(), Citizen.resultAsFloat());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.