ropeResetLength
ROPE_RESET_LENGTH0xC16DE94D9BEA14A0The GTA V native ROPE_RESET_LENGTH of the PHYSICS namespace, as LS:MP client scripts call it: the global function ropeResetLength, in JavaScript and in Lua.
ropeResetLength(ropeId: number, length: number): voidropeResetLength(ropeId: integer, length: number)Usage
JavaScript
ropeResetLength(ropeId, length);Lua
ropeResetLength(ropeId, length)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ropeId | int | number | integer |
length | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Reset a rope to a certain length.
Reference
- Namespace
- Physics PHYSICS
- In the game
void ROPE_RESET_LENGTH(int ropeId, float length)- Hash
0xC16DE94D9BEA14A0