{"hash":"0x78D8C1D4EB80C588","ns":"TASK","name":"_GET_WHISTLE_RANGE_MAX_FOR_BONDING_LEVEL","slug":"_GET_WHISTLE_RANGE_MAX_FOR_BONDING_LEVEL","official":false,"named":true,"luaName":"GetWhistleRangeMaxForBondingLevel","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"bondingLevel","type":"int"}],"summary":"Returns the maximum (target) whistle/call distance associated with the next horse bonding level.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the maximum (target) whistle/call distance associated with the next horse bonding level.\nUsed together with the current level's minimum to derive an effective whistle range based on the horse's bonding progress toward the next rank."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_GET_WHISTLE_RANGE_MAX_FOR_BONDING_LEVEL","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_GET_WHISTLE_RANGE_MAX_FOR_BONDING_LEVEL.md","snippets":{"lua":"local retval = GetWhistleRangeMaxForBondingLevel(bondingLevel)","luaInvoke":"local retval = Citizen.InvokeNative(0x78D8C1D4EB80C588, bondingLevel, Citizen.ResultAsFloat())","js":"const retval = GetWhistleRangeMaxForBondingLevel(bondingLevel);","jsInvoke":"const retval = Citizen.invokeNative('0x78D8C1D4EB80C588', bondingLevel, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0x78D8C1D4EB80C588, bondingLevel);","notes":["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."]}}