{"hash":"0x79B1A6E780266DB0","ns":"WEAPON","name":"_GET_MAX_LOCKON_DISTANCE_OF_CURRENT_PED_WEAPON","slug":"_GET_MAX_LOCKON_DISTANCE_OF_CURRENT_PED_WEAPON","official":false,"named":true,"luaName":"GetMaxLockonDistanceOfCurrentPedWeapon","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"ped","type":"Ped"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_MAX_LOCKON_DISTANCE_OF_CURRENT_PED_WEAPON","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_MAX_LOCKON_DISTANCE_OF_CURRENT_PED_WEAPON.md","snippets":{"lua":"local retval = GetMaxLockonDistanceOfCurrentPedWeapon(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x79B1A6E780266DB0, ped, Citizen.ResultAsFloat())","js":"const retval = GetMaxLockonDistanceOfCurrentPedWeapon(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x79B1A6E780266DB0', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0x79B1A6E780266DB0, ped);","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."]}}