{"hash":"0xD4071EFC83794B2F","ns":"WEAPON","name":"_SET_WEAPON_LEVEL_THRESHOLD","slug":"_SET_WEAPON_LEVEL_THRESHOLD","official":false,"named":true,"luaName":"SetWeaponLevelThreshold","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"weaponObject","type":"Object"},{"name":"threshold","type":"float"}],"summary":"every other level will have the max value of (brokeLevel - threshold)","descriptions":[{"source":"alloc8or","format":"text","body":"every other level will have the max value of (brokeLevel - threshold)"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_SET_WEAPON_LEVEL_THRESHOLD","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_SET_WEAPON_LEVEL_THRESHOLD.md","snippets":{"lua":"SetWeaponLevelThreshold(weaponObject, threshold)","luaInvoke":"Citizen.InvokeNative(0xD4071EFC83794B2F, weaponObject, threshold)","js":"SetWeaponLevelThreshold(weaponObject, threshold);","jsInvoke":"Citizen.invokeNative('0xD4071EFC83794B2F', weaponObject, threshold + 0.0000001);","csharp":"Function.Call((Hash)0xD4071EFC83794B2F, weaponObject, threshold);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","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."]}}