{"hash":"0x1FC92BDBA1106BD2","ns":"PHYSICS","name":"_ROPE_SET_LENGTH_CHANGE_RATE","slug":"_ROPE_SET_LENGTH_CHANGE_RATE","official":false,"named":true,"luaName":"RopeSetLengthChangeRate","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ropeId","type":"int"},{"name":"lengthChangeRate","type":"float"}],"summary":"Sets the rate used by START_ROPE_WINDING and START_ROPE_UNWINDING_FRONT to change the rope's forced length.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the rate used by START_ROPE_WINDING and START_ROPE_UNWINDING_FRONT to change the rope's forced length.\nROPE_FORCE_LENGTH directly writes the forced length instead."}],"examples":[],"aliases":["_ROPE_FORCE_LENGHT"],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PHYSICS/_ROPE_SET_LENGTH_CHANGE_RATE","markdownUrl":"https://natives.borderlinerp.com/natives/PHYSICS/_ROPE_SET_LENGTH_CHANGE_RATE.md","snippets":{"lua":"RopeSetLengthChangeRate(ropeId, lengthChangeRate)","luaInvoke":"Citizen.InvokeNative(0x1FC92BDBA1106BD2, ropeId, lengthChangeRate)","js":"RopeSetLengthChangeRate(ropeId, lengthChangeRate);","jsInvoke":"Citizen.invokeNative('0x1FC92BDBA1106BD2', ropeId, lengthChangeRate + 0.0000001);","csharp":"Function.Call((Hash)0x1FC92BDBA1106BD2, ropeId, lengthChangeRate);","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."]}}